validation

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {
	Apply func(*validator.Validate) error
}

func Options

func Options(options ...Option) Option

type Params

type Params struct {
	fx.In
	Options []Option `group:"validator_options"`
}

type Result

type Result struct {
	fx.Out
	Validate *validator.Validate
}

func New

func New(p Params) (r Result, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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