Just ten days left! I am 90% done.

Today’s exercise was go-counting. In go-counting you figure out who owns what territory in a game of go. Basically you need the flood fill algorithm with just the cardinal directions North, South, East and West. My solutions it too long. I spent a good chunk of time making documentation comments just to figure out who returns what and what the parameters are. Only eight left on the Javascript track.

Back to the food diary app. The first thing I want to do is add support for .env files to load settings from. I chose gotodenv. Had to fix not just the main.go file but the main_test.go file too. Otherwise pretty straight forward. I also added a secret key the JWT stuff will be needing. Then I added code to use create and parse JWT tokens. Nothing is visually different. I haven’t even tested it yet will have to continue with that tomorrow.