20 lines
596 B
Markdown
20 lines
596 B
Markdown
# 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](http://help.exercism.io/getting-started-with-go.html).
|
|
|
|
## Source
|
|
|
|
Chapter 9 in Chris Pine's online Learn to Program tutorial. [view source](http://pine.fm/LearnToProgram/?Chapter=09)
|