MCPcopy Index your code
hub / github.com/dnote/dnote / parseForm

Function parseForm

pkg/server/controllers/helpers.go:53–59  ·  view source on GitHub ↗
(r *http.Request, dst interface{})

Source from the content-addressed store, hash-verified

51}
52
53func parseForm(r *http.Request, dst interface{}) error {
54 if err := r.ParseForm(); err != nil {
55 return err
56 }
57
58 return parseValues(r.PostForm, dst)
59}
60
61func parseValues(values url.Values, dst interface{}) error {
62 dec := schema.NewDecoder()

Callers 4

parseRequestDataFunction · 0.85
CreateMethod · 0.85
CreateResetTokenMethod · 0.85
PasswordResetMethod · 0.85

Calls 1

parseValuesFunction · 0.85

Tested by

no test coverage detected