I wrote about my Indieweb dream this morning. To come closer to this dream and to clean up some code, I started refactoring my hugo backend code. I made use of Go interfaces to later be able to easily add more storage, CDN or social network providers. It also made the code a bit cleaner and a bit more modular, but there's still a lot of learning and work to do. What I still struggle with though is testing: I don't have any automatic tests yet. How do I test HTTP calls to external APIs?
About Jan-Lukas Else
20 years old student who writes about everything he cares about.