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

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