Documentation
¶
Index ¶
- func Array() rule.Interface
- func Boolean() rule.Interface
- func Date(format string) rule.Interface
- func Each(rules ...rule.Interface) rule.Interface
- func Empty() rule.Interface
- func Float() rule.Interface
- func GeoJSON(typeList ...string) rule.Interface
- func GeoJSONFeatureCollection() rule.Interface
- func GeoJSONLineString() rule.Interface
- func GeoJSONMultiLineString() rule.Interface
- func GeoJSONMultiPoint() rule.Interface
- func GeoJSONMultiPolygon() rule.Interface
- func GeoJSONPoint() rule.Interface
- func GeoJSONPolygon() rule.Interface
- func HttpUrl() rule.Interface
- func In[V int64 | int32 | int16 | int8 | uint64 | uint32 | uint16 | uint8 | string](v []V) rule.Interface
- func Int8() rule.Interface
- func Int16() rule.Interface
- func Int32() rule.Interface
- func Int64() rule.Interface
- func IpV4() rule.Interface
- func Max[T int | float64](v T) rule.Interface
- func Min[T int | float64](v T) rule.Interface
- func NotEmpty() rule.Interface
- func Nullable(rules ...rule.Interface) rule.Interface
- func Object() rule.Interface
- func Required() rule.Interface
- func String() rule.Interface
- func UInt8() rule.Interface
- func UInt16() rule.Interface
- func UInt32() rule.Interface
- func UInt64() rule.Interface
- type Errors
- type Rules
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeoJSONFeatureCollection ¶ added in v0.6.0
func GeoJSONLineString ¶ added in v0.6.0
func GeoJSONMultiLineString ¶ added in v0.6.0
func GeoJSONMultiPoint ¶ added in v0.6.0
func GeoJSONMultiPolygon ¶ added in v0.6.0
func GeoJSONPoint ¶ added in v0.6.0
func GeoJSONPolygon ¶ added in v0.6.0
Types ¶
Click to show internal directories.
Click to hide internal directories.