Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBindErrors ¶
AddBindErrors translate bind or validate errors FieldBindErrors:
- {xxx}.error.{field}
- error.param.invalid
ValidationErrors:
- {xxx}.error.{field}.{tag}
- {xxx}.error.param.{tag}
- error.param.{tag}
- error.param.invalid
func ErrInvalidID ¶
func ParseCIDRs ¶
func ValidateCIDRs ¶
func ValidateCIDRs(fl vad.FieldLevel) bool
Types ¶
type ParamError ¶
func (*ParamError) Error ¶
func (pe *ParamError) Error() string
Click to show internal directories.
Click to hide internal directories.