lens @ b242ed3c44f4dde7c4b452312b78a3b02f42ea65

 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)