4
0
raspi-alpine-builder/example/main.go
Benjamin Böhmke 6893cd3495 added example
2019-11-12 21:02:43 +01:00

11 lines
198 B
Go

package main
import "net/http"
func main() {
http.HandleFunc("/", func(writer http.ResponseWriter, _ *http.Request) {
writer.Write([]byte("It works!"))
})
http.ListenAndServe(":8080", nil)
}