Reading List
The most recent articles from a list of feeds I subscribe to.
Go auth (and other) progress
July 28
Made a bit more progress on the authentication basics today. Relevant commits are:
- Add http package; have auth0 test delete user it has just registered after test is done
- Create json util; add logout test
July 29
Today I focused a bit on the building and installation of snaillifecli
. I switched my custom app configuration code for Viper because it apparently integrates really well with Cobra, which is a library to help make CLI applications. It is really tempting to avoid plugging in existing libraries and write everything from scratch because I’m positive that it will teach me a lot about Go, but the existing solutions seem more than suitable and I want to get to working on actual snails at some point.
Go auth (and other) progress
July 28
Made a bit more progress on the authentication basics today. Relevant commits are:
- Add http package; have auth0 test delete user it has just registered after test is done
- Create json util; add logout test
July 29
Today I focused a bit on the building and installation of snaillifecli
. I switched my custom app configuration code for Viper because it apparently integrates really well with Cobra, which is a library to help make CLI applications. It is really tempting to avoid plugging in existing libraries and write everything from scratch because I’m positive that it will teach me a lot about Go, but the existing solutions seem more than suitable and I want to get to working on actual snails at some point.
Playing with authentication in Go
It’s almost 2am and I’m sleepy, but I wanted to write this down while it’s relatively fresh in my mind.
Playing with authentication in Go
It’s almost 2am and I’m sleepy, but I wanted to write this down while it’s relatively fresh in my mind.
Trying Out Go
A couple of weeks ago I had the genius idea to rewrite SnailLife in Go. I’ve already looked into doing this once before a couple of years ago, but wasn’t really feeling it and stuck with PHP (mostly for nostaligia reasons). Now though, SnailLife is this bloated PHP app. Most of the core functionality is in. After weeks of battling infrastructure issues, when everything was back up and running again, I took a step back and saw how big the app (or rather the 3 apps now) had become. At the same time I’d been reading in passing about Go and became curious, so I figured - why not look into learning Go by rewriting SnailLife? Not because I think Go itself will necessarily make anything better, but because a rewrite might.