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

Method TrySet

binding/form_mapping.go:67–67  ·  view source on GitHub ↗
(value reflect.Value, field reflect.StructField, key string, opt setOptions)

Source from the content-addressed store, hash-verified

65// setter tries to set value on a walking by fields of a struct
66type setter interface {
67 TrySet(value reflect.Value, field reflect.StructField, key string, opt setOptions) (isSet bool, err error)
68}
69
70type formSource map[string][]string

Callers 1

tryToSetValueFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected