All Articles

Sort by topic / Sort by publication date

Web application fundamentals

  1. Serving Static Sites with Go Beginner
  2. Golang Response Snippets: JSON, XML and more Beginner
  3. A Recap of Request Handling in Go Beginner
  4. Which Go router should I use? Beginner
  5. Making and Using HTTP Middleware Beginner
  6. How to Disable http.FileServer Directory Listings Intermediate

Go language features

  1. Golang Interfaces Explained Beginner
  2. Understanding Mutexes Intermediate

Form processing and validation

  1. Form Validation and Processing in Go Beginner
  2. Validation Snippets for Go Beginner
  3. Simple Flash Messages in Go Beginner
  4. HTTP Method Spoofing in Go Intermediate

Working with databases

  1. An Introduction to using SQL Databases in Go Beginner
  2. Organising Database Access in Go Intermediate
  3. Configuring sql.DB for Better Performance Advanced
  4. How to Manage Database Timeouts and Cancellations in Go Advanced
  5. Working with Redis in Go Intermediate

Working with JSON

  1. How to Parse a JSON Request Body in Go Intermediate
  2. Surprises and Gotchas When Working With JSON Intermediate
  3. Using PostgreSQL JSONB with Go Advanced

Miscellaneous tutorials

  1. An Overview of Go's Tooling Intermediate
  2. How to Rate Limit HTTP Requests Intermediate
  3. I18n in Go: Managing Translations Intermediate
  4. How to correctly use Basic Authentication in Go Intermediate
  5. Custom command-line flags with flag.Func Intermediate
  6. How to Hash and Verify Passwords With Argon2 in Go Advanced
  7. Streamline Your Sublime Text + Go Workflow Intermediate
  8. How to build a Serverless API with Go and AWS Lambda Intermediate

Quick tips

  1. Quick tip: Change URL query params in Go Intermediate

My open source work

  1. SCS: A session manager for Go
  2. Golang Automatic Reloads
  3. Context-Aware Handler Chains in Go (using Stack)