mirror of
https://github.com/SourceFellows/gobuch.git
synced 2025-07-10 20:02:32 +02: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)
|
|
}
|