Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-01-26 13:06:45 +00:00
parent 9cd82a849f
commit 9547c26947
25 changed files with 1314 additions and 1186 deletions

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/email"
)
// Validate an email address format
func main() {
emailService := email.NewEmailService(os.Getenv("M3O_API_TOKEN"))
rsp, err := emailService.Validate(&email.ValidateRequest{
Address: "joe@example.com",
})
fmt.Println(rsp, err)
}