Fixing build issues
This commit is contained in:
parent
df35fccb97
commit
578a4eb626
4
main.go
4
main.go
|
@ -148,14 +148,14 @@ var dj = mumbledj{
|
|||
cache: NewSongCache(),
|
||||
}
|
||||
|
||||
var services []Service
|
||||
var services []*Service
|
||||
|
||||
// main primarily performs startup tasks. Grabs and parses commandline
|
||||
// args, sets up the gumble client and its listeners, and then connects to the server.
|
||||
func main() {
|
||||
|
||||
PerformStartupChecks()
|
||||
services = []Service{Youtube{}}
|
||||
services = []*Service{Youtube{}}
|
||||
|
||||
if currentUser, err := user.Current(); err == nil {
|
||||
dj.homeDir = currentUser.HomeDir
|
||||
|
|
Reference in a new issue