Fixing build issues
This commit is contained in:
parent
8013ffea11
commit
dcb85e1892
2
main.go
2
main.go
|
@ -172,7 +172,7 @@ var dj = mumbledj{
|
||||||
cache: NewSongCache(),
|
cache: NewSongCache(),
|
||||||
}
|
}
|
||||||
|
|
||||||
var web WebServer
|
var web *WebServer
|
||||||
|
|
||||||
// main primarily performs startup tasks. Grabs and parses commandline
|
// main primarily performs startup tasks. Grabs and parses commandline
|
||||||
// args, sets up the gumble client and its listeners, and then connects to the server.
|
// args, sets up the gumble client and its listeners, and then connects to the server.
|
||||||
|
|
4
web.go
4
web.go
|
@ -27,8 +27,8 @@ type Page struct {
|
||||||
|
|
||||||
var external_ip = ""
|
var external_ip = ""
|
||||||
|
|
||||||
func makeWebserver(port int) WebServer {
|
func makeWebserver(port int) *WebServer {
|
||||||
webserver := WebServer{}
|
webserver := &WebServer{}
|
||||||
|
|
||||||
webserver.port = port
|
webserver.port = port
|
||||||
webserver.client_token = make(map[*gumble.User]string)
|
webserver.client_token = make(map[*gumble.User]string)
|
||||||
|
|
Reference in a new issue