Help us shape the future of Go! Take the 2026 Go Developer Survey

validate

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(checks ...error) error

All combines multiple zero-reflection validation checks into an xerr error.

func MaxLength

func MaxLength(val string, maxLen int, field string) error

func Min

func Min[T ~int | ~int64 | ~float64](val, minVal T, field string) error

func Required

func Required(val, field string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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