MCPcopy Create free account
hub / github.com/lxn/walk / Validate

Method Validate

declarative/validators.go:67–75  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

65}
66
67func (av *wMultiValidator) Validate(v interface{}) error {
68 for _, validator := range av.validators {
69 if err := validator.Validate(v); err != nil {
70 return err
71 }
72 }
73
74 return nil
75}

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.65

Tested by

no test coverage detected