added isGeneric method and tests

This commit is contained in:
luke.rodham
2018-04-04 14:49:27 +01:00
parent b4d7bccfae
commit 4e26d037b5
5 changed files with 6209 additions and 14 deletions
+17
View File
@@ -1,2 +1,19 @@
# 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?
}
}
```