Go: notes and background exports
For an existing Go project, use the shorter Deploying Go guide. This tutorial builds a complete example step by step.
You will use Go 1.27.1 and build a web app named notes-web plus a worker
named notes-worker in the examples Project’s go Environment.
The standard library serves HTTP. The database/sql drivers, MongoDB driver, Redis client, and AWS SDK implement the service integrations. The Procfile selects the web or worker mode of the same binary.
Complete Before you start, then follow these chapters in order:
- Create and deploy hello
- Persist notes in PostgreSQL
- Add a Redis export worker
- Save exports in object storage
- Try MariaDB or MongoDB instead
- Prepare for production, or troubleshoot and clean up
Downloads: hello source · complete notes source. The source walkthrough is included directly from those runnable files.