package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 13, 2018
License: MIT
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.
Documentation
¶
AddError adds error pair (field, msg) to current Errors instance
Errors wraps validation errors
It maps a field and the errors for the field as string
func Validate(f interface{}) *Errors
Validate validates a struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.