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

Function mapHeader

binding/header.go:27–29  ·  view source on GitHub ↗
(ptr any, h map[string][]string)

Source from the content-addressed store, hash-verified

25}
26
27func mapHeader(ptr any, h map[string][]string) error {
28 return mappingByPtr(ptr, headerSource(h), "header")
29}
30
31type headerSource map[string][]string
32

Callers 1

BindMethod · 0.85

Calls 2

mappingByPtrFunction · 0.85
headerSourceTypeAlias · 0.85

Tested by

no test coverage detected