Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Playlists []*soundcloud.Playlist PlaylistsMap sync.Map RichPlaylists []*RichPlaylist Tracks []*soundcloud.Track // contains filtered or unexported fields }
Client is the struct holding our data and client to fetch data on Soundcloud
type RichPlaylist ¶
type RichPlaylist struct { *soundcloud.Playlist Number int }
RichPlaylist is just a playlist with its number parsed
func NewRichPlaylist ¶
func NewRichPlaylist(p *soundcloud.Playlist) *RichPlaylist
NewRichPlaylist will parse the playlist's title to fill the number
Click to show internal directories.
Click to hide internal directories.