Validate email addresses
Based on https://github.com/sendgridlabs/nibbler-python and https://github.com/sendgrid/ruby_nibbler
go get -u github.com/sendgrid/go_nibbler
import (
nibbler "github.com/sendgrid/go_nibbler"
)
valid, parsedEmail := nibbler.ParseEmail(email)
- Fork it ( https://github.com/[my-github-username]/go_nibbler/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request