func handler()

in tutorials/deploy-hooks-run/app-config/hello-app/main.go [43:50]


func handler(w http.ResponseWriter, r *http.Request) {
	name := os.Getenv("NAME")
	if name == "" {
		name = "World"
	}
	fmt.Fprintf(w, "\nHello %s! 🎉\n\n", name)
	log.Printf("Sent response, customization was '%s'", name)
}