Skip to main content
Encore is an open-source Go framework that provisions infrastructure directly from your application code, with built-in observability and cloud deployment.

Use this pre-built prompt to get started faster.

Open in Cursor

Prerequisites

Before you start, you’ll need:

Guide

1

Create an Encore app

Then install the Resend Go SDK:
2

Set your API key

Encore has built-in secrets management. Store your Resend API key as a secret - no .env files needed:
3

Send email using an API endpoint

Create an email service directory and define your endpoint:
email/email.go
4

Run the app

Your API is running at http://localhost:4000. Send a test email:
5

AI skills for Encore Go

If you’re using an AI coding assistant, install the Encore skills. They provide context-aware help with topics such as APIs, services, Pub/Sub, databases, and auth:

Examples

Encore Go Docs

Encore Go documentation

Resend Go SDK

Resend Go SDK on GitHub