MCPcopy Create free account
hub / github.com/betty200744/ultimate-go / main

Function main

build-in-package/http/simplehttpserver/simplehttpserver.go:7–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5)
6
7func main() {
8 http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) {
9 w.Write([]byte(`hello, world!\n`))
10 })
11 http.ListenAndServe(":8080", nil)
12}

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected