Documentation ¶ Index ¶ type Format type Song func FetchFromURL(url string, playlist bool) (songs []*Song, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Format ¶ type Format int const ( Opus Format = iota Mp3 M4a Wav Aac Vorbis Flac ) type Song ¶ type Song struct { ID string `json:"id"` Name string `json:"name"` URL string `json:"url"` Length time.Duration `json:"length"` File string `json:"file"` Format Format `json:"format"` } func FetchFromURL ¶ func FetchFromURL(url string, playlist bool) (songs []*Song, err error) Source Files ¶ View all Source files song.go Click to show internal directories. Click to hide internal directories.