Skip to content
Myr

Update default validator's docs link (#2738)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

The default validator has upgraded from v8 to v10, but its docs link didn't.

authored by iamhesir · committed by GitHub · parent b5ca989 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:binding/default_validator.go+1 added-1 removed
69 unmodified lines
7071// Engine returns the underlying validator engine which powers the default72// Validator instance. This is useful if you want to register custom validations73// or struct level validations. See validator GoDoc for more info -74// https://godoc.org/gopkg.in/go-playground/validator.v874// https://pkg.go.dev/github.com/go-playground/validator/v1075func (v *defaultValidator) Engine() interface{} {76 v.lazyinit()77 return v.validate78}
7 unmodified lines