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