Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 741 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 741 Bytes

Resend with Go

This example shows how to use Resend with Go using the Resend Go SDK.

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 github.com/resend/resend-go-example
  1. Install dependencies:
go get github.com/resend/resend-go/v2
  1. Execute the following command:
go run main.go

License

See LICENSE.