gigasecond.go (299B)
1 // Package gigasecond provides functions that modify time by gigasecond values. 2 package gigasecond 3 4 import "time" 5 6 // AddGigasecond returns a time that is one gigasecond into the future from the 7 // input time, t. 8 func AddGigasecond(t time.Time) time.Time { 9 return t.Add(1000000000 * time.Second) 10 }