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

Interface Valuer

util.go:14–17  ·  view source on GitHub ↗

Valuer is an interface that allows you to expose a method on a type (including generic types) that returns a value that is supposed to be validated.

Source from the content-addressed store, hash-verified

12// Valuer is an interface that allows you to expose a method on a type
13// (including generic types) that returns a value that is supposed to be validated.
14type Valuer interface {
15 // ValidatorValue returns the value that is supposed to be validated.
16 ValidatorValue() any
17}
18
19// extractTypeInternal gets the actual underlying type of field value.
20// It will dive into pointers, customTypes and return you the

Callers 1

extractTypeInternalMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…