navidrome/domain/base.go
2016-03-03 22:52:03 -05:00

16 lines
235 B
Go

package domain
type BaseRepository interface {
NewId(fields ...string) string
CountAll() (int, error)
Exists(id string) (bool, error)
}
type QueryOptions struct {
SortBy string
Alpha bool
Desc bool
Offset int
Size int
}