Less than 1 minute
package main
import (
"io"
"log"
"net/http"
)
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, "[v1] Hello, Kubernetes!")
})
log.Printf("v1 access http://localhost:3000\n")
panic(http.ListenAndServe(":3000", nil))
//panic("something went wrong")
}