www.alexedwards.net/blog/prevent...
www.alexedwards.net/blog/prevent...
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.
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.
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-...
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-...
www.alexedwards.net/blog/which-g...
www.alexedwards.net/blog/which-g...
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.
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.
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.
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.
👉 alexedwards.net/blog/11-tips...
👉 alexedwards.net/blog/11-tips...