Fixing build issues
This commit is contained in:
parent
c4242a9efd
commit
03505fd44d
2
web.go
2
web.go
|
@ -35,7 +35,7 @@ func Webserver(port int) WebServer {
|
||||||
http.HandleFunc("/skip", webserver.skip)
|
http.HandleFunc("/skip", webserver.skip)
|
||||||
http.ListenAndServe(":"+strconv.Itoa(port), nil)
|
http.ListenAndServe(":"+strconv.Itoa(port), nil)
|
||||||
rand.Seed(time.Now().UnixNano())
|
rand.Seed(time.Now().UnixNano())
|
||||||
return &webserver
|
return webserver
|
||||||
}
|
}
|
||||||
|
|
||||||
func (web WebServer) homepage(w http.ResponseWriter, r *http.Request) {
|
func (web WebServer) homepage(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
Reference in a new issue