lang

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CN

type CN struct {
}

func (*CN) Enum

func (c *CN) Enum(field string, val []any) string

func (*CN) Gt

func (c *CN) Gt(field string, val float64) string

func (*CN) Gte

func (c *CN) Gte(field string, val float64) string

func (*CN) Lt

func (c *CN) Lt(field string, val float64) string

func (*CN) Lte

func (c *CN) Lte(field string, val float64) string

func (*CN) Max

func (c *CN) Max(field string, val uint64) string

func (*CN) Min

func (c *CN) Min(field string, val uint64) string

func (*CN) MultipleOf

func (c *CN) MultipleOf(field string, val float64) string

func (*CN) Regexp

func (c *CN) Regexp(field string, val string) string

func (*CN) Required

func (c *CN) Required(field string) string

func (*CN) Unique

func (c *CN) Unique(field string) string

type EN

type EN struct {
}

func (*EN) Enum

func (e *EN) Enum(field string, val []any) string

func (*EN) Gt

func (e *EN) Gt(field string, val float64) string

func (*EN) Gte

func (e *EN) Gte(field string, val float64) string

func (*EN) Lt

func (e *EN) Lt(field string, val float64) string

func (*EN) Lte

func (e *EN) Lte(field string, val float64) string

func (*EN) Max

func (e *EN) Max(field string, val uint64) string

func (*EN) Min

func (e *EN) Min(field string, val uint64) string

func (*EN) MultipleOf

func (e *EN) MultipleOf(field string, val float64) string

func (*EN) Regexp

func (e *EN) Regexp(field string, val string) string

func (*EN) Required

func (e *EN) Required(field string) string

func (*EN) Unique

func (e *EN) Unique(field string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL