Learn Go with Tests

Following https://quii.gitbook.io/learn-go-with-tests/

Discipline

  1. Write a test
  2. Make the compiler pass
  3. Run the test, see that it fails and check the error message is meaningful
  4. Write enough code to make the test pass
  5. Refactor