validate

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(v any) error

func ExpandDefault

func ExpandDefault(v any)

Types

type Error

type Error struct {
	Fields []*ErrorField
}

func (*Error) Error

func (err *Error) Error() string

func (*Error) Extra

func (err *Error) Extra()

type ErrorField

type ErrorField struct {
	Name  string
	Tag   string
	Value string
	// contains filtered or unexported fields
}

func (*ErrorField) String

func (f *ErrorField) String() string

Jump to

Keyboard shortcuts

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