validation

package
v0.0.5-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 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