Fixing build errors

This commit is contained in:
MichaelOultram 2015-08-12 21:22:55 +01:00
parent f8d9100e93
commit a5fd345959

View file

@ -4,6 +4,7 @@ import (
"fmt" "fmt"
"github.com/layeh/gumble/gumble" "github.com/layeh/gumble/gumble"
"github.com/layeh/gumble/gumbleutil" "github.com/layeh/gumble/gumbleutil"
"os"
"time" "time"
) )
@ -42,7 +43,10 @@ func (t TestSettings) testYoutubeSong() {
// if err := dummyClient.Connect(); err != nil { // if err := dummyClient.Connect(); err != nil {
// panic(err) // panic(err)
// } // }
dummyUser := dj.client.Users.Find("BottleOToast") // May be nil if dummyUser := dj.client.Users.Find("BottleOToast"); dummyUser == nil {
fmt.Printf("User does not exist")
os.Exit(1)
}
// Don't judge, I used the (autogenerated) Top Tracks for United Kingdom playlist // Don't judge, I used the (autogenerated) Top Tracks for United Kingdom playlist
songs := map[string]string{ songs := map[string]string{