exercism/go/gigasecond/README.md
2016-08-13 18:20:14 -05:00

596 B

Gigasecond

Write a program that will calculate the date that someone turned or will celebrate their 1 Gs anniversary.

A gigasecond is one billion (10**9) seconds.

To run the tests simply run the command go test in the exercise directory.

If the test suite contains benchmarks, you can run these with the -bench flag:

go test -bench .

For more detailed info about the Go track see the help page.

Source

Chapter 9 in Chris Pine's online Learn to Program tutorial. view source