validate

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidValidationError added in v0.2.0

func IsInvalidValidationError(err error) bool

func Map added in v0.2.0

func Map(data map[string]any, rules map[string]any) map[string]any

Map validator

func RegisterAlias added in v0.2.0

func RegisterAlias(alias, tags string)

RegisterAlias for single/multuple tags

func RegisterValidation added in v0.2.0

func RegisterValidation(tagName string, fn validator.Func, callValidationEvenIfNull ...bool)

func Struct

func Struct(s any) error

Struct validator

Types

This section is empty.

Jump to

Keyboard shortcuts

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