go get github.com/osechet/timex
The purpose of the library is to provide several extensions to the standard Go time library. For the moment, only GPS time conversion is provided.
// Display the GPS time of the current time, in microseconds
fmt.Println(int64(timex.GpsTime(time.Now()).Gps() / time.Microsecond))
go test
is used for testing.