validators

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultLang = "en"
	LangKo      = "ko"
	LangJa      = "ja"
)

Variables

This section is empty.

Functions

func GetJaValidateInitializer

func GetJaValidateInitializer() validate.ValidateInitializer

GetJaValidateInitializer 获取日语验证器初始化器

func GetKoValidateInitializer

func GetKoValidateInitializer() validate.ValidateInitializer

GetKoValidateInitializer 获取韩语验证器初始化器

Types

type JaValidate

type JaValidate struct {
	// contains filtered or unexported fields
}

日语验证器

func NewJaValidate

func NewJaValidate() *JaValidate

func (*JaValidate) RegisterToWrap

func (v *JaValidate) RegisterToWrap(wrap *validate.Wrap)

RegisterToWrap 注册到验证器包装器

type KoValidate

type KoValidate struct {
	// contains filtered or unexported fields
}

KoValidate 韩语验证器

func NewKoValidate

func NewKoValidate() *KoValidate

func (*KoValidate) RegisterToWrap

func (v *KoValidate) RegisterToWrap(wrap *validate.Wrap)

RegisterToWrap 注册到验证包装器

Jump to

Keyboard shortcuts

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