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

Method BindBody

binding/plain.go:27–29  ·  view source on GitHub ↗
(body []byte, obj any)

Source from the content-addressed store, hash-verified

25}
26
27func (plainBinding) BindBody(body []byte, obj any) error {
28 return decodePlain(body, obj)
29}
30
31func decodePlain(data []byte, obj any) error {
32 if obj == nil {

Callers

nothing calls this directly

Calls 1

decodePlainFunction · 0.85

Tested by

no test coverage detected