MCPcopy
hub / github.com/gin-gonic/gin / head

Function head

binding/form_mapping.go:523–526  ·  view source on GitHub ↗
(str, sep string)

Source from the content-addressed store, hash-verified

521}
522
523func head(str, sep string) (head string, tail string) {
524 head, tail, _ = strings.Cut(str, sep)
525 return head, tail
526}
527
528func setFormMap(ptr any, form map[string][]string) error {
529 el := reflect.TypeOf(ptr).Elem()

Callers 1

tryToSetValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected