MCPcopy Index your code
hub / github.com/danielgtaylor/huma / formDataFieldName

Function formDataFieldName

formdata.go:192–198  ·  view source on GitHub ↗
(f reflect.StructField)

Source from the content-addressed store, hash-verified

190}
191
192func formDataFieldName(f reflect.StructField) string {
193 name := f.Name
194 if formDataKey := f.Tag.Get("form"); formDataKey != "" {
195 name = formDataKey
196 }
197 return name
198}
199
200func multiPartFormFileSchema(r Registry, t reflect.Type) *Schema {
201 nFields := t.NumField()

Callers 2

multiPartFormFileSchemaFunction · 0.85
multiPartContentEncodingFunction · 0.85

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…