Resend with Go
This example shows how to use Resend with Go.
Prerequisites
To get the most out of this guide, you’ll need to:
Instructions
- Set your RESEND_API_KEY environment variable by running:
export RESEND_API_KEY="re_123456789"
- Initialize your go module by running the following command:
go mod init example.com/example
- Install dependencies:
go get github.com/resendlabs/resend-go
- Execute the following command:
go run index.go
License
MIT License