Non-standard

non-standard/validators

github.com/go-playground/validator/v10/non-standard/validators

import "github.com/go-playground/validator/v10/non-standard/validators"

Functions

func NotBlank(fl validator.FieldLevel) bool

NotBlank is the validation function for validating if the current field has a value or length greater than zero, or is not a space only string.