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

Method ValidateAll

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

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

()

Source from the content-addressed store, hash-verified

277// violated, the result is a list of violation errors wrapped in
278// CreateUserRequestMultiError, or nil if none found.
279func (m *CreateUserRequest) ValidateAll() error {
280 return m.validate(true)
281}
282
283func (m *CreateUserRequest) validate(all bool) error {
284 if m == nil {

Callers

nothing calls this directly

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected