github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/gke_loadbalancer/main.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "log" 6 "net/http" 7 ) 8 9 func handler(w http.ResponseWriter, r *http.Request) { 10 fmt.Fprintf(w, "hello!!\n") 11 } 12 13 func main() { 14 log.Print("gke loadbalancer server ready") 15 http.HandleFunc("/", handler) 16 http.ListenAndServe(":3000", nil) 17 }