aboutsummaryrefslogtreecommitdiff
path: root/pkg/database/repository/settings.go
blob: 6ed1eb61e66b2ddbc5f9ddcafc13a568e232e348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package repository

import "context"

type (
	Settings struct {
		ShowMode  bool
		ShowOwner bool
	}

	SettingsRepository interface {
		Save(context.Context, *Settings) error
		Load(context.Context) (*Settings, error)
	}
)