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
The validation functions return both a bool and error(s).
It leads to simpler code to simply ignore the returned bool and check for len(errs) > 0 or err != nil
I suggest dropping the returned bool for the next breaking change unless there's some other purpose for it that I've missed
The text was updated successfully, but these errors were encountered:
The validation functions return both a bool and error(s).
It leads to simpler code to simply ignore the returned bool and check for
len(errs) > 0
orerr != nil
I suggest dropping the returned bool for the next breaking change unless there's some other purpose for it that I've missed
The text was updated successfully, but these errors were encountered: