Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MusicService ¶
type MusicService uint
MusicService is an enumeration of music services that are allowed
ENUM( spotify deezer yandex )
const ( // MusicServiceSpotify is a MusicService of type Spotify MusicServiceSpotify MusicService = iota // MusicServiceDeezer is a MusicService of type Deezer MusicServiceDeezer // MusicServiceYandex is a MusicService of type Yandex MusicServiceYandex )
func ParseMusicService ¶
func ParseMusicService(name string) (MusicService, error)
ParseMusicService attempts to convert a string to a MusicService
func (*MusicService) MarshalText ¶
func (x *MusicService) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method
func (MusicService) String ¶
func (x MusicService) String() string
String implements the Stringer interface.
func (*MusicService) UnmarshalText ¶
func (x *MusicService) UnmarshalText(text []byte) error
UnmarshalText implements the text unmarshaller method
Click to show internal directories.
Click to hide internal directories.