100 days of golang
1 min readSep 14, 2019
I decided to learn golang by writing a bit of code every day for 100 days. My background is in nodejs and python backend programming and wanted to see why golang is so popular.
I first got excited about it when I learnt that Monzo was building its backend in golang. Monzo is one of my favourite apps and companies, they have a microservices architecture which is very similar to what we have at CryptoCompare so I wanted to learn what they do so well and what we could do to improve our architecture.
So here is my journey so far:
Day 1–10
Tutorials:
- Syntax and basics: https://gobyexample.com/
- JSON API tutorial: https://medium.com/the-andela-way/build-a-restful-json-api-with-golang-85a83420c9da
Videos:
Things learnt (among many others):
- Concurrent execution using go routines and channels for sharing information
- Interfaces are collections of function signatures — a way to implement polymorphism
- JSON can be parsed into a struct