validator

package
v1.111.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(ctx context.Context, doc interface{}, opType operator.OpType, opts ...interface{}) error

Do calls validator check Don't use opts here

func SetValidate added in v1.101.1

func SetValidate(v *validator.Validate)

SetValidate let validate can use custom rules

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL