Calculate my age in weeks.
Inspired by Four Thousand Weeks by Oliver Burkeman.
Visit my blog for an overview and my learnings from this exercise.
Build and run:
go run weeks.go
Build then run:
go build
./weeks
Run the tests and include % test coverage:
go test -cover
Open test coverage in a web browser:
go test -coverprofile=c.out
go tool cover -html="c.out"