package
0.3.1
Repository: https://github.com/caicloud/nirvana.git
Documentation: pkg.go.dev

# Functions

Bool creates validator for bool type.
Byte creates validator for byte type.
Int creates validator for int type.
Int16 creates validator for int16 type.
Int32 creates validator for int32 type.
Int64 creates validator for int64 type.
Int8 creates validator for int8 type.
NewCustom calls f for validation, using description for doc gen.
String creates validator for string type.
Struct returns an operator to validate a structs exposed fields, and automatically validates nested structs, unless otherwise specified and also allows passing of context.Context for contextual validation information.
Uint creates validator for uint type.
Uint16 creates validator for uint16 type.
Uint32 creates validator for uint32 type.
Uint64 creates validator for uint64 type.
Uint8 creates validator for uint8 type.

# Constants

CategoryCustom indicates the validator is a custom validator.
CategoryStruct indicates that the validator can validate struct.
CategoryVar indicates that the validator can validate basic built-in types.
OperatorKind means opeartor kind.
Special tags.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Special tags.
Special tags.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Tags for ref and doc gen.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.
Special tags.

# Interfaces

Validator describes an interface for all validator.

# Type aliases

Category distinguishs validation type based on different Validator implementation.
Tag is the validation tag can be used.