From e01bbeff3df9ee18291c13579db0020e103e8eb5 Mon Sep 17 00:00:00 2001 From: Antonio Pagano Date: Thu, 6 Sep 2018 12:51:45 -0500 Subject: [PATCH] cleaning README --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1076762..b3cd3c4 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,10 @@ import ( ) var sender mail.Sender -var hcomposer hermes.Hermes func init() { - serverToken := envy.Get("Sendgrid_SERVER_TOKEN", "") - accountToken := envy.Get("Sendgrid_ACCOUNT_TOKEN", "") - sender = ssender.NewSendgridSender(serverToken, accountToken, false) + APIKey := envy.Get("SENDGRID_API_KEY", "") + sender = ssender.NewSendgridSender(APIKey) } ```