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

Method ValidateAll

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

ValidateAll checks the field values on CreateUserReply 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 CreateUserReplyMultiError, or nil if none found.

()

Source from the content-addressed store, hash-verified

379// violated, the result is a list of violation errors wrapped in
380// CreateUserReplyMultiError, or nil if none found.
381func (m *CreateUserReply) ValidateAll() error {
382 return m.validate(true)
383}
384
385func (m *CreateUserReply) validate(all bool) error {
386 if m == nil {

Callers

nothing calls this directly

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected