validator

package
v0.0.0-...-d00b715 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator[T migrator.Entity] struct {
	// contains filtered or unexported fields
}

func (*Validator[T]) Validate

func (v *Validator[T]) Validate(ctx context.Context) error

Validate 用户可以通过 context 来控制校验程序 全量校验 从数据库中一条一条查询出来,然后校验

Jump to

Keyboard shortcuts

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