validation

package
v3.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Numeric

func Numeric(v any) error

Numeric returns nil if v is of a numeric type or a string that can be parsed as a number.

func UUID4

func UUID4(val string) error

UUID4 return nil if val is a valid uuid

func Value

func Value(val any, validVals ...any) error

Value return nil if val is equal (reflect.DeepEqual) to any of the values in validVals

Types

This section is empty.

Jump to

Keyboard shortcuts

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