1package settings 2 3import "context" 4 5type ( 6 Settings struct { 7 ShowMode bool 8 ShowOwner bool 9 } 10 11 Repository interface { 12 Save(context.Context, *Settings) error 13 Load(context.Context) (*Settings, error) 14 } 15)