entc/gen/template: fixed validation spelling (#1531)

This commit is contained in:
AlonDavidBehr
2021-05-03 16:44:07 +02:00
committed by GitHub
parent efd225822c
commit fb06930a62
30 changed files with 31 additions and 31 deletions

View File

@@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error {
return e.err
}
// IsValidationError returns a boolean indicating whether the error is a validaton error.
// IsValidationError returns a boolean indicating whether the error is a validation error.
func IsValidationError(err error) bool {
if err == nil {
return false