types

package
v0.18.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RoleSuperUser = "super_user"
	RoleAdmin     = "admin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Change added in v0.7.0

type Change[T any] struct {
	Value   T
	Changed bool
}

type Error added in v0.11.0

type Error struct {
	Message string `json:"message"`
}

func (*Error) Error added in v0.11.0

func (e *Error) Error() string

type ErrorList added in v0.11.0

type ErrorList []*Error

func (*ErrorList) Add added in v0.11.0

func (p *ErrorList) Add(message string)

type Images added in v0.17.0

type Images struct {
	Original string `json:"original"`
	Small    string `json:"small"`
	Medium   string `json:"medium"`
	Large    string `json:"large"`
}

type Map

type Map map[string]any

type Name added in v0.15.2

type Name struct {
	Kind NameKind
	Name string
}

type NameKind added in v0.15.2

type NameKind int
const (
	NameKindString NameKind = iota
	NameKindNumber
)

type Page added in v0.18.0

type Page struct {
	Page       int `json:"page"`
	PerPage    int `json:"perPage"`
	TotalItems int `json:"totalItems"`
	TotalPages int `json:"totalPages"`
}

type WorkDir added in v0.3.0

type WorkDir string

func (WorkDir) Album added in v0.16.2

func (d WorkDir) Album(id string) string

func (WorkDir) Albums added in v0.16.2

func (d WorkDir) Albums() string

func (WorkDir) Artist added in v0.17.0

func (d WorkDir) Artist(id string) string

func (WorkDir) Artists added in v0.16.2

func (d WorkDir) Artists() string

func (WorkDir) DatabaseFile added in v0.10.0

func (d WorkDir) DatabaseFile() string

func (WorkDir) ExportFile added in v0.16.2

func (d WorkDir) ExportFile() string

func (WorkDir) SetupFile added in v0.18.0

func (d WorkDir) SetupFile() string

func (WorkDir) String added in v0.3.0

func (d WorkDir) String() string

func (WorkDir) Track added in v0.17.0

func (d WorkDir) Track(id string) string

func (WorkDir) Tracks added in v0.17.0

func (d WorkDir) Tracks() string

func (WorkDir) Trash added in v0.18.0

func (d WorkDir) Trash() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL