Go integration for ZeroBounce service.
go get github.com/riquellopes/zerobounce-go-api
First you will need an api token. Can you create an account at here and get your token.
package main
import (
"fmt"
"os"
. "github.com/riquellopes/zerobounce-go-api/zerobounce"
)
func main() {
zero := ZeroBounce{Apikey: os.Getenv("API_KEY_ZERO")}
fmt.Println(zero.Validate("[email protected]"))
fmt.Println(zero.ValidateWithip("[email protected]"))
fmt.Println(zero.GetCredits())
}