truemail-rb / truemail-go

🚀 Configurable Golang 📨 email validator/verifier. Verify email via Regex, DNS, SMTP and even more. Be sure that email address valid and exists.

Home Page:https://truemail-rb.org/truemail-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ISSUE] Typographical error on line 49 in domain_list_match.go file

midedickson opened this issue · comments

New issue checklist

[ISSUE] Typographical error on line 49 in domain_list_match.go file

Issue description

// Returns true if whitelist validation enebled, otherwise returns false
func (validation *validationDomainListMatch) isWhitelistValidation() bool {
validatorResult := validation.result
return validatorResult.Configuration.WhitelistValidation
}

As seen above, the comment reads Returns true if whitelist validation "enabled"
This is a typo, as the word should be "enabled"

Hi, @Double-DOS! Thank you so much for report. Done 🍺