// Articles

Guides and deep dives

Guides, tutorials, and comparisons to help you build better backend applications.

Filter by category: Go Development (38)

Useful resources for building Go applications.

How to Add Postgres to a Gin App

Connect a Gin API to PostgreSQL with migrations, a connection pool and a local database, using Encore or pgx with RDS.

7 Min Read
How to Add S3 File Uploads to a Gin App

Accept multipart uploads, stream files to S3 or Google Cloud Storage and hand out signed upload URLs from a Gin API, with Encore or the AWS SDK for Go.

7 Min Read
How to Add Authentication to a Go API

API key authentication for a Go service with an Encore auth handler or net/http middleware.

5 Min Read
How to Add Redis to a Go API

Caching and rate limiting in a Go service with Encore's cache package or go-redis and ElastiCache.

6 Min Read
How to Add Secrets to a Go API

API keys and webhook signing secrets in a Go service, with Encore or environment variables backed by AWS Secrets Manager.

6 Min Read
How to Add Object Storage to a Go API

File uploads and signed download links for a Go service, with Encore or the AWS SDK for Go and S3.

5 Min Read
How to Add Cron Jobs to a Go API

Scheduled work for a Go service with Encore, an in-process scheduler, or EventBridge Scheduler on AWS.

6 Min Read
Go ORMs in 2026

Which ORM is suitable for your project?

7 Min Read
Best Tracing Tools for Go Backends in 2026

Compare instrumentation approaches and tracing backends for Go

14 Min Read
How to Debug Slow Go API Requests with Distributed Tracing

Find the exact query, goroutine, or service call slowing down your endpoints

11 Min Read
Distributed Tracing for Go APIs

Add end-to-end request tracing to your Go backend

9 Min Read
OpenTelemetry for Go: A Practical Setup Guide

From zero to production tracing with the OTel Go SDK

13 Min Read