The Curious Engineer

All blogs / Go

Alex Edwards

alexedwards.net/blog

Alex Edwards' blog

GoWeb developmentDatabases

Posts
56 from 17 Aug 2013 to 14 Jul 2026
Posting
now and then (3 in the last year)
Kind
personal blog
Feed
https://www.alexedwards.net/static/feed.rss

2026 3

  1. How I use HTMX with Go
  2. Go Experiments Explained
  3. Go Naming Conventions: A Practical Guide

2025 7

  1. A modern approach to preventing CSRF in Go
  2. The 9 Go test assertions I use (and why)
  3. How to manage configuration settings in Go web applications
  4. Organize your Go middleware without dependencies
  5. When is it OK to panic in Go?
  6. How to manage tool dependencies in Go 1.24+
  7. Eleven tips for structuring your Go projects

2023 6

  1. Implementing an in-memory cache in Go
  2. Demystifying function parameters in Go
  3. A Gentle Introduction to Pointers
  4. A time-saving Makefile for your Go projects
  5. How to use the http.ResponseController type
  6. An introduction to Packages, Imports and Modules in Go

2022 5

  1. A complete guide to working with Cookies in Go
  2. The 'fat service' pattern for Go web applications
  3. Flow: A tiny but powerful HTTP router for Go
  4. How to use go run to manage tool dependencies
  5. Easy test assertions with Go generics

2021 6

  1. Continuous integration with Go and GitHub Actions
  2. Change URL query params in Go
  3. Which Go router should I use?
  4. I18n in Go: Managing translations
  5. How to correctly use Basic Authentication in Go
  6. Custom command-line flags with flag.Func

2020 2

  1. Surprises and gotchas when working with JSON
  2. How to manage database timeouts and cancellations in Go

2019 4

  1. How to parse a JSON request body in Go
  2. Golang Interfaces explained
  3. Using PostgreSQL JSONB with Go
  4. An overview of Go's tooling

2018 6

  1. How to hash and verify passwords with Argon2 in Go
  2. Streamline your Sublime Text + Go workflow
  3. HTTP Method spoofing in Go
  4. How to build a Serverless API with Go and AWS Lambda
  5. How to disable http.FileServer directory listings
  6. Configuring sql.DB for better performance

2017 2

  1. How to rate limit HTTP requests in Go
  2. Validation snippets for Go

2016 2

  1. SCS: A session manager for Go web applications 1.7+
  2. Working with Redis

2015 3

  1. Organising database access in Go
  2. Practical Persistence in Go: SQL Databases
  3. An Introduction to Using SQL Databases in Go

2014 2

  1. Context-aware Handler chains
  2. Making and using HTTP Middleware in Go

2013 8

  1. Simple 'flash' messages in Go
  2. Form validation and processing in Go
  3. HTTP Response Snippets for Go
  4. Understanding Mutexes
  5. Automatic code reloading in Go
  6. An introduction to Handlers and Servemuxes in Go
  7. Serving static sites with Go
  8. A fresh start