Skip to content

nathany/weeks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weeks

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.

Run

Build and run:

go run weeks.go

Build then run:

go build
./weeks

Tests

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"

About

Calculate my age in weeks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages