- Feature to send email notification with sendgrid/sendgrid-go
- Use net/http, bytes
- Logging handler use sirupsen/logrus
- Make sure the go language driver is installed in your locale
- If not already you can click below Go Language
- You can use any text editor what you like to use
- After you installing the go, you can clone this repository
- before clone this repo, firstly create folder github.com/ in src folder, and then you can git clone at github.com folder.
You need : Library of Logrus for logging handler or you can use log at go library :
go get https://github.com/sirupsen/logrus
cd github.com/email-notification-go
-
after that you can change the token with yours
-
and change the mail sender too
-
and you can modify in your local
-
and then run the main.go
go run main.go
Install the dependencies and devDependencies and start the server.
$ cd github.com/email-notification-go
$ go get https://github.com/sirupsen/logrus
$ go run main.go
MIT
Free Software, Hell Yeah!