Documentation
¶
Index ¶
- type Blank
- type Currency
- type Email
- type IsBool
- type IsFalse
- type IsFloat
- type IsFloat32
- type IsFloat64
- type IsInt
- type IsInt8
- type IsInt16
- type IsInt32
- type IsInt64
- type IsString
- type IsStruct
- type IsTrue
- type IsUint
- type IsUint8
- type IsUint16
- type IsUint32
- type IsUint64
- type Language
- type LanguageWithRegion
- type Nil
- type NotBlank
- type NotNil
- type RangeConstraint
- type RegularExpression
- type Required
- type Struct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LanguageWithRegion ¶
type LanguageWithRegion struct{}
func (LanguageWithRegion) Validate ¶
func (c LanguageWithRegion) Validate(value any) error
type RangeConstraint ¶
func (RangeConstraint) Validate ¶
func (r RangeConstraint) Validate(value any) error
type RegularExpression ¶ added in v1.0.2
type RegularExpression struct {
Regexp string
}
func (RegularExpression) Validate ¶ added in v1.0.2
func (c RegularExpression) Validate(value any) error
Click to show internal directories.
Click to hide internal directories.