Add songqueue.go

This commit is contained in:
Matthieu Grieger 2014-12-14 21:37:55 -08:00
parent 027f25c988
commit 6721a7f51f
2 changed files with 17 additions and 1 deletions

View file

@ -1,6 +1,6 @@
all: mumbledj
mumbledj: main.go commands.go parseconfig.go strings.go queue.go song.go
mumbledj: main.go commands.go parseconfig.go strings.go queue.go song.go songqueue.go
go build .
clean:

16
songqueue.go Normal file
View file

@ -0,0 +1,16 @@
/*
* MumbleDJ
* By Matthieu Grieger
* songqueue.go
* Copyright (c) 2014 Matthieu Grieger (MIT License)
*/
package main
type SongQueue struct {
songs []Song
}
func NewSongQueue() *SongQueue {
return &SongQueue{}
}