Discover Packages
github.com/xdave/validation
package
module
Version:
v0.0.0-...-a771b25
Opens a new window with list of versions in this module.
Published: Aug 17, 2015
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
Documentation
¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.