tracks/go/exercises/gigasecond/example.go in trackler-2.2.1.56 vs tracks/go/exercises/gigasecond/example.go in trackler-2.2.1.57
- old
+ new
@@ -1,10 +1,8 @@
package gigasecond
import "time"
-const testVersion = 4
-
// AddGigasecond returns time t plus one gigasecond.
func AddGigasecond(t time.Time) time.Time {
return t.Add(1e9 * time.Second)
}