Articles › golang

 

    Articles marked with ★ are favorites of mine

    2026

  1. Go Experiments Explained  
  2. Go Naming Conventions: A Practical Guide  
  3. 2025

  4. A Modern Approach to Preventing CSRF in Go  
  5. The 9 Go Test Assertions I Use (And Why)  
  6. How to Manage Configuration Settings in Go Web Applications  
  7. Organize Your Go Middleware Without Dependencies  
  8. When Is It OK to Panic in Go?
  9. How to Manage Tool Dependencies in Go 1.24+  
  10. Eleven Tips for Structuring Your Go Projects
  11. 2023

  12. Implementing an In-Memory Cache in Go  
  13. Demystifying Function Parameters in Go  
  14. A Gentle Introduction to Pointers  
  15. A Time-Saving Makefile for Your Go Projects
  16. How to Use the http.ResponseController Type  
  17. An Introduction to Packages, Imports and Modules in Go
  18. 2022

  19. A Complete Guide to Working with Cookies in Go  
  20. The 'Fat Service' Pattern for Go Web Applications  
  21. Flow: A Tiny but Powerful HTTP Router for Go  
  22. Using Go Run to Manage Tool Dependencies  
  23. Easy Test Assertions with Go Generics  
  24. 2021

  25. Continuous Integration with Go and GitHub Actions  
  26. Change URL Query Params in Go  
  27. Which Go Router Should I Use?
  28. I18n in Go: Managing Translations  
  29. How to Correctly Use Basic Authentication in Go  
  30. Custom Command-Line Flags with flag.Func  
  31. 2020

  32. Surprises and Gotchas When Working with JSON  
  33. How to Manage Database Timeouts and Cancellations in Go
  34. 2019

  35. How to Parse a JSON Request Body in Go  
  36. Golang Interfaces Explained
  37. Using PostgreSQL JSONB with Go  
  38. An Overview of Go's Tooling  
  39. 2018

  40. How to Hash and Verify Passwords with Argon2 in Go  
  41. Streamline Your Sublime Text + Go Workflow  
  42. HTTP Method Spoofing in Go  
  43. How to Build a Serverless API with Go and AWS Lambda  
  44. How to Disable http.FileServer Directory Listings  
  45. Configuring sql.DB for Better Performance  
  46. 2017

  47. How to Rate Limit HTTP Requests in Go  
  48. Validation Snippets for Go  
  49. 2016

  50. SCS: A Session Manager for Go Web Applications  
  51. Working with Redis in Go  
  52. 2015

  53. Organising Database Access in Go
  54. An Introduction to Using SQL Databases in Go
  55. 2014

  56. Context-Aware Handler Chains  
  57. Making and Using HTTP Middleware in Go
  58. 2013

  59. Automatic Code Reloading in Go  
  60. Simple 'Flash' Messages in Go  
  61. Form Validation and Processing in Go  
  62. HTTP Responses in Go: JSON, XML and More  
  63. Understanding Mutexes
  64. An Introduction to Handlers and Servemuxes in Go
  65. Serving Static Sites with Go