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

Method ShouldBindBodyWithTOML

context.go:961–963  ·  view source on GitHub ↗

ShouldBindBodyWithTOML is a shortcut for c.ShouldBindBodyWith(obj, binding.TOML).

(obj any)

Source from the content-addressed store, hash-verified

959
960// ShouldBindBodyWithTOML is a shortcut for c.ShouldBindBodyWith(obj, binding.TOML).
961func (c *Context) ShouldBindBodyWithTOML(obj any) error {
962 return c.ShouldBindBodyWith(obj, binding.TOML)
963}
964
965// ShouldBindBodyWithPlain is a shortcut for c.ShouldBindBodyWith(obj, binding.Plain).
966func (c *Context) ShouldBindBodyWithPlain(obj any) error {

Callers 1

Calls 1

ShouldBindBodyWithMethod · 0.95

Tested by 1