mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-31 22:23:14 +02:00
refactor: rename Deserialize* to UnmarshalValidate*
This commit is contained in:
@@ -13,10 +13,6 @@ type CustomValidator interface {
|
||||
Validate() gperr.Error
|
||||
}
|
||||
|
||||
func Validator() *validator.Validate {
|
||||
return validate
|
||||
}
|
||||
|
||||
func MustRegisterValidation(tag string, fn validator.Func) {
|
||||
err := validate.RegisterValidation(tag, fn)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user