Skip to content

Instantly share code, notes, and snippets.

@luizbranco luizbranco/sendgrid.go
Last active Feb 19, 2018

Embed
What would you like to do?
SendGrid wrapper
type SendGridClient struct {
*sendgrid.Client
}
func (c *SendGridClient) Mail(e Email) error {
msg :=// convert Email to SendGrid format
_, err := c.Send(msg)
return err
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.