mirror of
https://github.com/cubixle/email-checker.git
synced 2026-04-29 21:08:41 +01:00
20 lines
339 B
Markdown
20 lines
339 B
Markdown
# email-checker
|
|
Email checker is package with a collection of different methods of checking email addresses.
|
|
|
|
```go
|
|
package main
|
|
|
|
import "github.com/lukerodham/email-checker"
|
|
|
|
func main() {
|
|
is, err := checker.IsGeneric("example@gmail.com")
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
if is {
|
|
// do something?
|
|
}
|
|
}
|
|
```
|