validator

package
v0.0.0-...-1225d9a Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 7 Imported by: 0

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 (*Config) Init

func (m *Config) Init() error

func (*Config) Name

func (m *Config) Name() string

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