This repository acts as a demonstration of Go's built in web routing and request handlers. The codebase also covers middleware, global app configuration, conditional rendering with HTML templates, and package management.
Once you've cloned the repository, run go run cmd/web/*.go
to run all of the files in the main
package.
Once your site is up and running, go to http://localhost:4000/about to see that the webpage has yet to log your IP to the session storage.
Once you've seen the conditionally rendered "We can't find your IP" message, visit the homepage, and then go back to the about page to see that your IP was successfully stored in the global app configuration.