Claim pageClaim
Follow
Overview
News
Salaries
Products
People
Growth
Offices
Financials
News
How I use HTMX with Go
When I want to add sprinkles of interactivity to a web application, I'm a big fan of using HTMX. I like that it makes it easy to give interactions a smooth app-like feel, I like that it minimizes the amount of JavaScript that I have to write, and I like t
Read more
Report
Go Experiments Explained
Go often ships with experimental features as part of a release. These experimental features can take different forms: sometimes they're completely new packages in the standard library, sometimes they're changes to the compiler or runtime, or - very occasi
Read more
Report
Go Naming Conventions: A Practical Guide
Choosing the right names in your codebase is an important (and sometimes difficult!) part of programming in Go. It's a small thing that makes a big difference - good names make your code clearer, more predictable, and easier to navigate; bad names do the
Read more
Report
A modern approach to preventing CSRF in Go
Go 1.25 introduced a new http.CrossOriginProtection middleware to the standard library - and it got me wondering: Have we finally reached the point where CSRF attacks can be prevented without relying on a token-based check (like double-submit cookies)? Ca
Read more
Report
The 9 Go test assertions I use (and why)
A few weeks ago Anton Zhiyanov published the blog post Expressive tests without testify/assert. It's a good and well thought-out post, and I recommend giving it a read if you haven't already. In the post, Anton makes the argument for not using packages li
Read more
Report
How to manage configuration settings in Go web applications
When I'm building a web application in Go, I prefer to use command-line flags to pass configuration settings to the application at runtime. But sometimes, the client I'm working with wants to use environment variables to store configuration settings, or t
Read more
Report
Organize your Go middleware without dependencies
For many years, I've used third-party packages to help organize and manage middleware in my Go web applications. In small projects, I often used alice to create middleware 'chains' that I could reuse across multiple routes. And for larger applications, wi
Read more
Report
When is it OK to panic in Go?
If you've been working with Go for a while, you might be familiar with the Go proverb "don't panic". It's a pithy way of saying: "handle errors gracefully, or return them to the caller to handle gracefully, instead of passing errors to the built-in panic(
Read more
Report
How to manage tool dependencies in Go 1.24+
One of my favourite features of Go 1.24 is the new functionality for managing developer tooling dependencies. By this, I mean tooling that you use to assist with development, testing, build, or deployment - such as staticcheck for static code analysis, go
Read more
Report
Eleven tips for structuring your Go projects
When working with Go, you have three main building blocks to help organize your code: files, packages and modules. But as Go developers, one of the common challenges we have is knowing how to best combine these building blocks to structure a codebase. In
Read more
Report
Show more news
