Remove server.go because of having 'gor file-server :8080'

This commit is contained in:
Alexandr Korsak
2016-11-08 22:21:35 +03:00
parent 638ddfb144
commit f90dcc763b
-15
View File
@@ -1,15 +0,0 @@
package main
import (
"io"
"net/http"
)
func hello(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, "Hello world!")
}
func main() {
http.HandleFunc("/", hello)
http.ListenAndServe(":8000", nil)
}