validator

package
v0.0.0-...-d843489 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidStruct

func ValidStruct(data any) error

ValidStruct performs validation of a data structure using the validator. Receives an arbitrary data structure and uses the validator to verify if it meets the criteria defined in the validation tags. Returns an error if validation fails, indicating fields that are not compliant.

Types

This section is empty.

Jump to

Keyboard shortcuts

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