validator: github.com/go-playground/validator/translations/zh Index | Files

package zh

import "github.com/go-playground/validator/translations/zh"

Index

Package Files

zh.go

func RegisterDefaultTranslations Uses

func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (err error)

RegisterDefaultTranslations registers a set of default translations for all built in tag's in validator; you may add your own as desired.

Package zh imports 9 packages (graph). Updated 2020-10-23. Refresh now. Tools for package owners.