INNER CODE UNIT · Go

hello

networknt/microservices-framework-benchmark · go-http/server.go:8

func hello(w http.ResponseWriter, r *http.Request) {
    io.WriteString(w, "Hello World!")
}

func main() {
    http.HandleFunc("/", hello)
    http.ListenAndServe(":8080", nil)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…