nil dereference during RegisterTagNameFunc
sgburtsev opened this issue · comments
There is no initValidator()
here:
func RegisterTagNameFunc(registerTagFunc validator.TagNameFunc) {
validatorObj.RegisterTagNameFunc(registerTagFunc)
}
so a panic occurs.
It appears, that there is a ready MR (#75). Take a look on it please.