learn-go-with-tests

module
v0.0.0-...-2805de9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2023 License: MIT

README

learn-go-with-tests

Go Report Card build status Coverage Status

Background | My Approach | Editor Setup | Useful Learning Material | License

Background

This repo contains the code I created as I worked through @quii's Learn Go with Tests book. As a Golang Newbie I highly recommend the book as it struck a nice balance between learning a new language and using it in anger.

My Approach

For Go Fundamentals, I worked through each section writing my own version of the code samples and taking the time to understand anything I wasn't sure of. I then cross-checked my version of the code against the most recent version contained in the original repo.

For Build an Application, I read each section top-to-bottom taking the time to completely understand each of the code samples. I then based my own version of that section's code on the most recent version contained in the original repo.

In both cases, I allowed myself to dive down into rabbitholes as I referred to external documentation, presentations, books and the like. This meant it took me quite a while to work through the book, but this was fine since I was more concerned with learning than shipping this repo quickly.

Editor Setup

I used the Go Extension for Visual Studio Code.

Useful Learning Material

Plus a whole bunch of code reading from repos on GitHub.

License

MIT

Directories

Path Synopsis
math
clockface
Package clockface provides functions that calculate the positions of the hands of an analogue clock,
Package clockface provides functions that calculate the positions of the hands of an analogue clock,
clockface/clockface
Writes an SVG clockface of the current time to Stdout.
Writes an SVG clockface of the current time to Stdout.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL