Articles › Golang

2023

  1. Quick tip: Implementing an in-memory cache in Go
  2. Demystifying function parameters in Go
  3. A gentle introduction to Pointers
  4. Quick tip: 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

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

2021

  1. Continuous integration with Go and GitHub Actions
  2. Quick tip: 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

  1. Surprises and Gotchas When Working With JSON
  2. How to Manage Database Timeouts and Cancellations in Go

2019

  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

  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

  1. How to Rate Limit HTTP Requests
  2. Validation Snippets for Go

2016

  1. SCS: A session manager for Go
  2. Working with Redis in Go

2015

  1. Organising Database Access in Go
  2. An Introduction to using SQL Databases in Go

2014

  1. Context-Aware Handler Chains in Go (using Stack)
  2. Making and Using HTTP Middleware

2013

  1. Golang Automatic Reloads
  2. Simple Flash Messages in Go
  3. Form Validation and Processing in Go
  4. Golang Response Snippets: JSON, XML and more
  5. Understanding Mutexes
  6. An Introduction to Handlers and Servemuxes in Go
  7. Serving Static Sites with Go