https://github.com/gernest/mailchecker-go
Temporary (disposable/throwaway) email detection library in Go(Golang)
https://github.com/gernest/mailchecker-go
Last synced: 6 months ago
JSON representation
Temporary (disposable/throwaway) email detection library in Go(Golang)
- Host: GitHub
- URL: https://github.com/gernest/mailchecker-go
- Owner: gernest
- License: mit
- Created: 2015-11-26T17:21:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-26T17:38:02.000Z (over 9 years ago)
- Last Synced: 2024-06-20T14:22:02.615Z (10 months ago)
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 20
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mailchecker-go [](https://travis-ci.org/gernest/mailchecker-go)
This is a Go(Golang) libary for detecting temporary (disposable/throwaway) emails.
This is based on [MailChecker](https://github.com/FGRibreau/mailchecker) but due to implementation details
it cannot be added to the platform list of MailChecker.# Installation
go get github.com/gernest/mailchecker-go
# How to use```go
package mainimport (
"fmt""github.com/gernest/mailchecker-go"
)func main() {
ok, err := mailchecker.Valid("[email protected]")
if !ok {
fmt.Println(err)
}
}
```# Contributing
Start with clicking the star button to make the author and his neighbors happy. Then fork the repository and submit a pull request for whatever change you want to be added to this project.
If you have any questions, just open an issue.
# Author
Geofrey ErnestTwitter : [@gernesti](https://twitter.com/gernesti)
# Licence
This project is released under the MIT licence. See [LICENCE](LICENCE) for more details.