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

import "context"

type (
	Settings struct {
		ShowMode  bool
		ShowOwner bool
	}

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