Sha256: e6b0178b50b6339fc4743eefac9ba152f6b85d1ed3a6468407d039f489e3c347

Contents?: true

Size: 190 Bytes

Versions: 274

Compression:

Stored size: 190 Bytes

Contents

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)
}

Version data entries

274 entries across 274 versions & 1 rubygems

Version Path
trackler-2.2.1.16 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.15 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.14 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.13 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.12 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.11 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.10 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.9 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.8 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.7 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.6 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.5 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.4 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.3 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.2 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.1 tracks/go/exercises/gigasecond/example.go
trackler-2.2.1.0 tracks/go/exercises/gigasecond/example.go
trackler-2.2.0.6 tracks/go/exercises/gigasecond/example.go
trackler-2.2.0.5 tracks/go/exercises/gigasecond/example.go
trackler-2.2.0.4 tracks/go/exercises/gigasecond/example.go