Merge 99e970e1386fcf7d0c7920ed3158a84ee5cf76d2 into 91a4459dd27a311c2b959708f328d60177fa4046

This commit is contained in:
摩西蜀黍 2018-09-30 05:42:10 +00:00 committed by GitHub
commit 114116e789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ func (v *defaultValidator) Engine() interface{} {
func (v *defaultValidator) lazyinit() { func (v *defaultValidator) lazyinit() {
v.once.Do(func() { v.once.Do(func() {
config := &validator.Config{TagName: "binding"} //config := &validator.Config{TagName: "binding"}
v.validate = validator.New(config) v.validate = validator.New()
}) })
} }