mirror of
https://github.com/SourceFellows/gobuch.git
synced 2024-10-22 13:57:13 +00:00
13 lines
217 B
Go
13 lines
217 B
Go
package main
|
|
|
|
import "net/http"
|
|
|
|
func handleHttp(res http.ResponseWriter, req *http.Request) {
|
|
res.Write([]byte("Hello World"))
|
|
}
|
|
|
|
func main() {
|
|
http.HandleFunc("/", handleHttp)
|
|
http.ListenAndServe(":8080", nil)
|
|
}
|