MCPcopy Create free account
hub / github.com/6boris/web3-template / ValidateAll

Method ValidateAll

api/interface/web3/demo.pb.validate.go:49–51  ·  view source on GitHub ↗

ValidateAll checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRequestMultiError, or nil if none found.

()

Source from the content-addressed store, hash-verified

47// result is a list of violation errors wrapped in GetUserRequestMultiError,
48// or nil if none found.
49func (m *GetUserRequest) ValidateAll() error {
50 return m.validate(true)
51}
52
53func (m *GetUserRequest) validate(all bool) error {
54 if m == nil {

Callers

nothing calls this directly

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected