govalidator
govalidator copied to clipboard
IsNull() uses strings.TrimSpace() better than len()
IsNull()
uses strings.TrimSpace()
better than len()
trim space \n \t eg.
Wondering if IsBlank should be implemented? Where IsNull would produce false on \n \t and IsBlank would product true, IsBlank would include the use of strings.TrimSpace()
Hello guys! I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back Link to my repo: create issue there and we'll discuss it.