MCPcopy Index your code
hub / github.com/dreamsofcode-io/nethttp / Create

Method Create

comment/handler.go:14–18  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

12}
13
14func (h *Handler) Create(w http.ResponseWriter, r *http.Request) {
15 fmt.Println("Can't create comment, no user ID")
16 w.WriteHeader(http.StatusInternalServerError)
17 w.Write([]byte(http.StatusText(http.StatusInternalServerError)))
18}

Callers

nothing calls this directly

Calls 1

WriteHeaderMethod · 0.80

Tested by

no test coverage detected