validator

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

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.0.8

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