How to create a blog using GolangAfter getting fed up with React, SPAs, and Javascript around 2021 I decided to re-write my personal webpage in Rust and wrote an article on how you could build a simple blog, purely using Rust. It ended up becoming one of my most popular articles and...Apr 3, 2024 · 7 min readmortenvistisen.hashnode.dev
A practical approach to structuring Golang apps2022 update. At the time of writing this update, it's been over a year since I published this article. At the end of this article I promise a part two, which I must admit, will probably never come for a couple of reasons. I no longer use this structu...Mar 16, 2024 · 25 min readmortenvistisen.hashnode.dev
Top level internal is unnecessaryI recently got into a discussion on twitter; I suggested that root level internal directories doesn't make much sense when you're creating applications that are not a library. It's conventional wisdom in the Go community, to suggest putting any code ...Mar 16, 2024 · 4 min readmortenvistisen.hashnode.dev
Pulumi vs TerrafromI've started a new contract, where I'm tasked with consolidating the company's infrastructure under aws. They (the company) are starting to see some serious growth, have a team in-place currently using a PaaS and various other cloud providers. Infras...Feb 20, 2024 · 10 min readmortenvistisen.hashnode.dev
How to write integration tests in Go appsPicture this: you've just left Node for the promised land of Go. You've learned about composition, interfaces, simplicity, domain-driven design (and understood nothing) and unit tests. You feel all grown-up and ready to take on concurrency and ride o...Feb 19, 2024 · 20 min readmortenvistisen.hashnode.dev