MCPcopy
hub / github.com/go-playground/validator / Value

Method Value

errors.go:131–131  ·  view source on GitHub ↗

Value returns the actual field's value in case needed for creating the error message

()

Source from the content-addressed store, hash-verified

129 // Value returns the actual field's value in case needed for creating the error
130 // message
131 Value() interface{}
132
133 // Param returns the param value, in string form for comparison; this will also
134 // help with generating an error message

Callers 7

TestKeysCustomValidationFunction · 0.95
ValidateValuerTypeFunction · 0.65
mainFunction · 0.65
validateStructFunction · 0.65
ValidateValuerFunction · 0.65

Implementers 1

fieldErrorerrors.go

Calls

no outgoing calls

Tested by 4

TestKeysCustomValidationFunction · 0.76
ValidateValuerTypeFunction · 0.52