valiant

package
v0.0.0-...-ca24b28 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtraFieldError

type ExtraFieldError struct {
	ErrorMessage string
}

func (ExtraFieldError) Error

func (err ExtraFieldError) Error() string

type RequiredFieldError

type RequiredFieldError struct {
	ErrorMessage string
}

func (RequiredFieldError) Error

func (err RequiredFieldError) Error() string

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator(input io.Reader) Validator

func (Validator) Validate

func (validator Validator) Validate(typed interface{}) error

Jump to

Keyboard shortcuts

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