4
0
Fork 0
raspi-alpine-builder/example/main.go

11 lines
198 B
Go
Raw Permalink Normal View History

2019-11-12 21:02:43 +01:00
package main
import "net/http"
func main() {
http.HandleFunc("/", func(writer http.ResponseWriter, _ *http.Request) {
writer.Write([]byte("It works!"))
})
http.ListenAndServe(":8080", nil)
}