MCPcopy Create free account
hub / github.com/derekbanas/Go-Tutorial / englishHandler

Function englishHandler

webapp/webapp.go:36–39  ·  view source on GitHub ↗

request is the request from the browser

(writer http.ResponseWriter,
	request *http.Request)

Source from the content-addressed store, hash-verified

34
35// request is the request from the browser
36func englishHandler(writer http.ResponseWriter,
37 request *http.Request) {
38 write(writer, "Hello Internet")
39}
40
41func spanishHandler(writer http.ResponseWriter,
42 request *http.Request) {

Callers

nothing calls this directly

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected