Add songqueue.go
This commit is contained in:
parent
027f25c988
commit
6721a7f51f
2
Makefile
2
Makefile
|
@ -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
16
songqueue.go
Normal 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{}
|
||||
}
|
Reference in a new issue