validator

package
v2.0.44 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 7 Imported by: 24

Documentation

Index

Constants

View Source
const (
	AppName = "validator"
)

Variables

This section is empty.

Functions

func Validate

func Validate(target any) error

Types

type Config

type Config struct {
	ioc.ObjectImpl
	// contains filtered or unexported fields
}

func Get added in v2.0.8

func Get() *Config

func (*Config) Init

func (m *Config) Init() error

func (*Config) Name

func (m *Config) Name() string

func (*Config) Priority added in v2.0.10

func (i *Config) Priority() int

func (*Config) Validate

func (m *Config) Validate(target any) error

Jump to

Keyboard shortcuts

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