Skip to content

Commit

Permalink
Update default validator's docs link (#2738)
Browse files Browse the repository at this point in the history
The default validator has upgraded from v8 to v10, but its docs link didn't.
  • Loading branch information
iamhesir committed May 26, 2021
1 parent b5ca989 commit 0cbb30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binding/default_validator.go
Expand Up @@ -71,7 +71,7 @@ func (v *defaultValidator) validateStruct(obj interface{}) error {
// Engine returns the underlying validator engine which powers the default
// Validator instance. This is useful if you want to register custom validations
// or struct level validations. See validator GoDoc for more info -
// https://godoc.org/gopkg.in/go-playground/validator.v8
// https://pkg.go.dev/github.com/go-playground/validator/v10
func (v *defaultValidator) Engine() interface{} {
v.lazyinit()
return v.validate
Expand Down

0 comments on commit 0cbb30a

Please sign in to comment.