You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Dexus Don't be lazy. You can decorate func (m *ModelName) Validate() errror for every model that requires validation and control validation from code.
Overwhelming the struct with tags may get very frustrating when you will need to have different validation behaviors for update and create operations.
Also, struct tags are evaluated at runtime using reflection which is not the most performant thing in Golang.
This Tool is incompatible with github.com/go-playground/validator
The text was updated successfully, but these errors were encountered: