goplayvalidate

package module
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 7 Imported by: 0

README

Miruken integration of go-playground validator

https://github.com/go-playground/validator

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Feature added in v0.8.0

func Feature(
	config ...func(installer *Installer),
) miruken.Feature

Types

type Installer added in v0.8.0

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

Installer integrates validation support for the go playground validator. https://github.com/go-playground/validator/

func (*Installer) DependsOn added in v0.8.0

func (v *Installer) DependsOn() []miruken.Feature

func (*Installer) Install added in v0.8.0

func (v *Installer) Install(setup *miruken.SetupBuilder) error

func (*Installer) UseTranslator added in v0.8.0

func (v *Installer) UseTranslator(translator ut.Translator)

func (*Installer) Validator added in v0.8.0

func (v *Installer) Validator() *play.Validate

Jump to

Keyboard shortcuts

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