validator

package
v0.0.0-...-afa1830 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enhanced

type Enhanced struct {
	*validator.Validate
}

Enhanced wraps the go playground validator with some added Misakey rules.

func New

func New() *Enhanced

New creates a new validator.

func (*Enhanced) EnhancedValidate

func (v *Enhanced) EnhancedValidate(i interface{}) error

EnhancedValidate the interface using the go playground validator package We handle Patch Validation using patch package

Jump to

Keyboard shortcuts

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