Following https://quii.gitbook.io/learn-go-with-tests/
- Write a test
- Make the compiler pass
- Run the test, see that it fails and check the error message is meaningful
- Write enough code to make the test pass
- Refactor
Following https://quii.gitbook.io/learn-go-with-tests/