/resend-go-example

This example shows how to use Resend with Go

Primary LanguageGoMIT LicenseMIT

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

  1. Set your RESEND_API_KEY environment variable by running:
export RESEND_API_KEY="re_123456789"
  1. Initialize your go module by running the following command:
go mod init example.com/example
  1. Install dependencies:
go get github.com/resendlabs/resend-go
  1. Execute the following command:
go run index.go

License

MIT License