Fixing build errors
This commit is contained in:
parent
afb05faecb
commit
b95aeee62d
|
@ -96,7 +96,7 @@ func (sc SoundCloud) NewSong(user string, trackData *jsonq.JsonQuery, playlist P
|
|||
return "", err
|
||||
}
|
||||
|
||||
song := &YoutubeDL{
|
||||
song := &YouTubeDL{
|
||||
id: id,
|
||||
title: title,
|
||||
thumbnail: thumbnail,
|
||||
|
|
|
@ -78,7 +78,7 @@ func (q *SongQueue) Traverse(visit func(i int, s Song)) {
|
|||
}
|
||||
|
||||
// Gets the song at a specific point in the queue
|
||||
func (q *SongQueue) Get(int i) (Song, error) {
|
||||
func (q *SongQueue) Get(i int) (Song, error) {
|
||||
if q.Len() > i+1 {
|
||||
return q.queue[i], nil
|
||||
}
|
||||
|
|
Reference in a new issue