validator

package
Version: v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlaygroundValidator

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

PlaygroundValidator is a validator implemented using GoPlaygroundValidator v9

func NewPlaygroundValidator

func NewPlaygroundValidator() PlaygroundValidator

NewPlaygroundValidator builds a new PlaygroundValidator

func (PlaygroundValidator) Validate

func (val PlaygroundValidator) Validate(target interface{}) error

Validate a struct using annotations

Source Files

Jump to

Keyboard shortcuts

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