Documentation ¶
Index ¶
- type EnUs
- func (e *EnUs) Enum(field string, val []any) string
- func (e *EnUs) Gt(field string, val float64) string
- func (e *EnUs) Gte(field string, val float64) string
- func (e *EnUs) JwtTranslate(msg string) string
- func (e *EnUs) Lt(field string, val float64) string
- func (e *EnUs) Lte(field string, val float64) string
- func (e *EnUs) Max(field string, val uint64) string
- func (e *EnUs) Min(field string, val uint64) string
- func (e *EnUs) MultipleOf(field string, val float64) string
- func (e *EnUs) Regexp(field string, val string) string
- func (e *EnUs) Required(field string) string
- func (e *EnUs) Unique(field string) string
- type ZhCn
- func (z *ZhCn) Enum(field string, val []any) string
- func (z *ZhCn) Gt(field string, val float64) string
- func (z *ZhCn) Gte(field string, val float64) string
- func (z *ZhCn) JwtTranslate(msg string) string
- func (z *ZhCn) Lt(field string, val float64) string
- func (z *ZhCn) Lte(field string, val float64) string
- func (z *ZhCn) Max(field string, val uint64) string
- func (z *ZhCn) Min(field string, val uint64) string
- func (z *ZhCn) MultipleOf(field string, val float64) string
- func (z *ZhCn) Regexp(field string, val string) string
- func (z *ZhCn) Required(field string) string
- func (z *ZhCn) Unique(field string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnUs ¶ added in v0.0.11
type EnUs struct { }
func (*EnUs) JwtTranslate ¶ added in v0.1.2
func (*EnUs) MultipleOf ¶ added in v0.0.11
type ZhCn ¶ added in v0.0.11
type ZhCn struct { }
func (*ZhCn) JwtTranslate ¶ added in v0.1.2
func (*ZhCn) MultipleOf ¶ added in v0.0.11
Click to show internal directories.
Click to hide internal directories.