validator

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 1 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValidatorFor added in v0.26.0

func GetValidatorFor(opts any) *goplvalidator.Validate

GetValidatorFor returns validator provided by opts or default global validator else.

func Set added in v0.26.0

func Set(v *goplvalidator.Validate)

Set sets global validator used in options-gen generated code. Panics if provided validator is nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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