badoux / checkmail

Golang package for email validation
MIT License
718 stars 91 forks source link

checkmail: Refactor the order of the 'defer' #15

Closed xescugc closed 5 years ago

xescugc commented 6 years ago

It has to be checked for nil before the defer, otherwise it's nil.

Closes #11