func New(tagName string, funcs map[string]Func) *Validate {

	structPool = &sync.Pool{New: newStructErrors}

	return &Validate{
		tagName:         tagName,
		validationFuncs: funcs,
	}
}
func New(tagName string, funcs map[string]Func) *Validate {

	structPool = &sync.Pool{New: newStructErrors}

	return &Validate{
		tagName:         tagName,
		validationFuncs: funcs,
	}
}
func New ( tagName string , funcs map [ string ] Func ) * Validate { structPool = & sync . Pool { New : newStructErrors } return & Validate { tagName : tagName , validationFuncs : funcs , } }
// New creates a new Validate instance for use.
New creates a new Validate instance for use .