Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-30 14:06:33 +01:00
parent c4242a9efd
commit 03505fd44d

2
web.go
View file

@ -35,7 +35,7 @@ func Webserver(port int) WebServer {
http.HandleFunc("/skip", webserver.skip)
http.ListenAndServe(":"+strconv.Itoa(port), nil)
rand.Seed(time.Now().UnixNano())
return &webserver
return webserver
}
func (web WebServer) homepage(w http.ResponseWriter, r *http.Request) {