validate

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Fields []FieldError
}

func (Error) Error

func (err Error) Error() string

type FieldError

type FieldError struct {
	Field   string `json:"field"`
	Message string `json:"message"`
	Code    string `json:"code"`
}

type Plan

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

func Compile

func Compile(t reflect.Type) Plan

func (Plan) Validate

func (plan Plan) Validate(value reflect.Value) error

Jump to

Keyboard shortcuts

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