mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-23 02:40:25 -05:00
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.1.8 to 2.2.2. - [Release notes](https://github.com/gookit/config/releases) - [Commits](https://github.com/gookit/config/compare/v2.1.8...v2.2.2) --- updated-dependencies: - dependency-name: github.com/gookit/config/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
14 lines
406 B
Go
14 lines
406 B
Go
package yaml
|
|
|
|
// StructValidator need to implement Struct method only
|
|
// ( see https://pkg.go.dev/github.com/go-playground/validator/v10#Validate.Struct )
|
|
type StructValidator interface {
|
|
Struct(interface{}) error
|
|
}
|
|
|
|
// FieldError need to implement StructField method only
|
|
// ( see https://pkg.go.dev/github.com/go-playground/validator/v10#FieldError )
|
|
type FieldError interface {
|
|
StructField() string
|
|
}
|