Alex Edwards
@ajmedwards.bsky.social
📤 43
📥 1
📝 8
Full-stack web developer · Author of Let's Go ›
http://lets-go.alexedwards.net
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
about 2 months ago
1
4
0
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...
loading . . .
A modern approach to preventing CSRF in Go - Alex Edwards
https://www.alexedwards.net/blog/preventing-csrf-in-go
3 months ago
0
1
0
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.
loading . . .
Making and using HTTP Middleware in Go - Alex Edwards
https://www.alexedwards.net/blog/making-and-using-middleware
7 months ago
0
0
0
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-...
loading . . .
How to manage configuration settings in Go web applications - Alex Edwards
https://www.alexedwards.net/blog/how-to-manage-configuration-settings-in-go-web-applications
7 months ago
0
3
0
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...
8 months ago
2
3
1
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.
loading . . .
Organize your Go middleware without dependencies - Alex Edwards
https://alexedwards.net/blog/organize-your-go-middleware-without-dependencies
9 months ago
1
2
0
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.
10 months ago
0
1
0
New tutorial now out: Mindset tips and practical advice for structuring your
#golang
projects. 👉
alexedwards.net/blog/11-tips...
12 months ago
0
5
0
you reached the end!!
feeds!
log in