validatorext

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Struct

func Struct(s any) error

func ValidateDecimal

func ValidateDecimal(fl validator.FieldLevel) bool

func ValidateEnum

func ValidateEnum(fl validator.FieldLevel) bool

func ValidateMobile

func ValidateMobile(fl validator.FieldLevel) bool

func ValidatePostalCode

func ValidatePostalCode(fl validator.FieldLevel) bool

Types

type EnumValidation

type EnumValidation interface {
	InRange(v any) bool
}

Jump to

Keyboard shortcuts

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