aboutsummaryrefslogtreecommitdiff
path: root/pkg/components/settings
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/components/settings')
-rw-r--r--pkg/components/settings/model.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/components/settings/model.go b/pkg/components/settings/model.go
new file mode 100644
index 0000000..da07f2c
--- /dev/null
+++ b/pkg/components/settings/model.go
@@ -0,0 +1,15 @@
+package settings
+
+import "context"
+
+type (
+ Settings struct {
+ ShowMode bool
+ ShowOwner bool
+ }
+
+ Repository interface {
+ Save(context.Context, *Settings) error
+ Load(context.Context) (*Settings, error)
+ }
+)