Sign in

Alex Edwards

@ajmedwards.bsky.social
77 followers 1 following 12 posts

Full-stack web developer · Author of Let's Go › lets-go.alexedwards.net

PostsRepliesMedia
Alex Edwards @ajmedwards.bsky.social · 18/09/2026
Both my books, Let's Go and Let's Go Further, are now fully updated for Go 1.27 - including coverage of json/v2 in Let's Go Further & optional dark mode in the HTML versions. If you're interested in building web apps or APIs with Go, it's a great time to check them out! www.alexedwards.net/books
alexedwards.net
Books - Alex Edwards
061
Alex Edwards @ajmedwards.bsky.social · 14/07/2026
I've just published a new tutorial: How I use HTMX with Go. It covers the patterns I use for template rendering, partial/full-page responses, redirects, errors and config settings — all while building a working app. Check it out at: www.alexedwards.net/blog/how-i-u...
051
Alex Edwards @ajmedwards.bsky.social · 01/06/2026
From JSONv2 to GreenTeaGC: a guide to Go's experimental features, how they evolve, and what's available in Go 1.26. www.alexedwards.net/blog/go-expe...
alexedwards.net
Go Experiments Explained - Alex Edwards
000
Alex Edwards @ajmedwards.bsky.social · 24/03/2026
Choosing the right names makes your Go code clearer, more predictable, and easier to navigate — bad names do the opposite. I’ve just published a beginner-friendly guide covering naming conventions, practical tips, and examples: www.alexedwards.net/blog/go-nami...
alexedwards.net
Go Naming Conventions: A Practical Guide - Alex Edwards
010
Alex Edwards @ajmedwards.bsky.social · 25/11/2025
It’s that time of year again! 🎁Treat yourself to some holiday Golang learning with 30% off my books Let’s Go and Let’s Go Further — offer on until Dec 1st. Both books are fully updated for the latest Go 1.25 release. lets-go.alexedwards.net lets-go-further.alexedwards.net
140
Alex Edwards @ajmedwards.bsky.social · 14/10/2025
I’ve written a new tutorial on Go’s CrossOriginProtection middleware, explaining how it works and how you can combine it with SameSite cookies and TLS 1.3 to effectively prevent CSRF attacks. www.alexedwards.net/blog/prevent...
alexedwards.net
A modern approach to preventing CSRF in Go - Alex Edwards
000
Alex Edwards @ajmedwards.bsky.social · 05/07/2025
Way back in 2014 I wrote a blog post "Making and using HTTP Middleware in Go", which become one of the most read things I've ever made. I decided it was time to give it a bit of love... I've modernized the examples and restructured the post and explanations to (hopefully!) improve it further.
alexedwards.net
Making and using HTTP Middleware in Go - Alex Edwards
000
Alex Edwards @ajmedwards.bsky.social · 30/06/2025
I've just finished writing a new blog post "How to manage configuration settings in Go web applications". I talks through patterns for using flags, env vars and config files, and how to pass settings to where they are needed in your application code. www.alexedwards.net/blog/how-to-...
alexedwards.net
How to manage configuration settings in Go web applications - Alex Edwards
040
Alex Edwards @ajmedwards.bsky.social · 10/05/2025
It's a bit overdue, but I finally updated my "which #golang router should I use?" blog post to reflect the `http.ServeMux` changes in Go 1.22. www.alexedwards.net/blog/which-g...
231
Alex Edwards @ajmedwards.bsky.social · 28/04/2025
New blog post now out: alexedwards.net/blog/organiz... It talks about how to extend Go's http .ServeMux to support middleware 'groups' (like chi), and also a quick and simple alternative to alice for chaining middleware.
alexedwards.net
Organize your Go middleware without dependencies - Alex Edwards
120
Alex Edwards @ajmedwards.bsky.social · 01/04/2025
Panic! …or maybe not? 🤔 I've just published a new tutorial exploring and answering the question: When is it OK to panic in Go? Give it a read at: alexedwards.net/blog/when-is... I enjoyed writing this one, and it was good to clarify and codify how I've been using panics for a long time.
010
Alex Edwards @ajmedwards.bsky.social · 23/01/2025
New tutorial now out: Mindset tips and practical advice for structuring your #golang projects. 👉 alexedwards.net/blog/11-tips...
060