MCPcopy
hub / github.com/GoesToEleven/golang-web-dev / index

Function index

032_rdbms/02_SQL/main.go:35–38  ·  view source on GitHub ↗
(w http.ResponseWriter, req *http.Request)

Source from the content-addressed store, hash-verified

33}
34
35func index(w http.ResponseWriter, req *http.Request) {
36 _, err := io.WriteString(w, "at index")
37 check(err)
38}
39
40func amigos(w http.ResponseWriter, req *http.Request) {
41 rows, err := db.Query(`SELECT aName FROM amigos;`)

Callers

nothing calls this directly

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected