...

Package validators

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

Overview ▾

func NotBlank

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.