validation

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRegex

func CheckRegex(fl validator.FieldLevel) bool

CheckRegex - check if a struct's field passes regex test

func CheckYesOrNo

func CheckYesOrNo(fl validator.FieldLevel) bool

CheckYesOrNo - checks if a field on a struct is yes or no

func CheckYesOrNoOrUnset

func CheckYesOrNoOrUnset(fl validator.FieldLevel) bool

CheckYesOrNoOrUnset - checks if a field is yes, no or unset

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL