lens @ 3b9d27649a31e5af3fb137ff5b3378e7b8f7b9ae

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