Skip to content

osechet/timex

Repository files navigation

timex - A Go time extension library

Build Status codecov

Install

go get github.com/osechet/timex

Features

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.

Example

GPS

// Display the GPS time of the current time, in microseconds
fmt.Println(int64(timex.GpsTime(time.Now()).Gps() / time.Microsecond))

Testing

go test is used for testing.

About

Golang time extension library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages