validation

package module
v0.0.0-...-a771b25 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2015 License: BSD-2-Clause Imports: 4 Imported by: 0

README

Recursive struct field validation

Uses BeeGo validation

See GoDoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(obj interface{}, parentType ...string) (errs []error)

Recursively validates a struct against `valid:"..." tags` The arg `parentType` is actually only used as an optional single argument Anything more than one is ignored

Types

This section is empty.

Jump to

Keyboard shortcuts

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