1
0
Fork
You've already forked go-unixtime
0
Package unixtime provides types for unix time, for the Go programming language. Note that the Go built-in package "time" has some support for **unix time**. But, lacks types for the different formats of unix time: unix time seconds, unix time milliseconds, unix time microseconds. The Go built-in package "time" just has each of them as an int64.
  • Go 100%
Find a file
2026年07月05日 09:28:47 -07:00
errors.go encoding.TextUnmarshaler 2026年07月05日 09:22:40 -07:00
go.mod parse 2026年07月05日 09:12:25 -07:00
go.sum parse 2026年07月05日 09:12:25 -07:00
LICENSE initial commits 2026年07月04日 09:39:00 -07:00
microseconds.go encoding.TextMarshaler 2026年07月05日 09:28:47 -07:00
microseconds_test.go microseconds 2026年07月04日 11:54:04 -07:00
milliseconds.go encoding.TextMarshaler 2026年07月05日 09:28:47 -07:00
milliseconds_test.go milliseconds 2026年07月04日 12:13:41 -07:00
nanoseconds.go encoding.TextMarshaler 2026年07月05日 09:28:47 -07:00
nanoseconds_test.go spacing 2026年07月04日 14:06:53 -07:00
parse.go parse 2026年07月05日 09:12:25 -07:00
parse_microseconds_test.go parse 2026年07月05日 09:12:25 -07:00
parse_milliseconds_test.go parse 2026年07月05日 09:12:25 -07:00
parse_nanoseconds_test.go parse 2026年07月05日 09:12:25 -07:00
parse_seconds_test.go parse 2026年07月05日 09:12:25 -07:00
README.md initial commits 2026年07月04日 09:39:00 -07:00
seconds.go encoding.TextMarshaler 2026年07月05日 09:28:47 -07:00
seconds_test.go seconds 2026年07月04日 14:06:22 -07:00

go-unixtime

Package unixtime provides types for unix time, for the Go programming language.

Note that the Go built-in package "time" has some support for unix time. But, lacks types for the different formats of unix time: unix time seconds, unix time milliseconds, unix time microseconds. The Go built-in package "time" just has each of them as an int64.

Documention

Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-unixtime

GoDoc

Import

To import package unixtime use import code like the following:

import "github.com/reiver/go-unixtime"

Installation

To install package unixtime do the following:

GOPROXY=direct go get github.com/reiver/go-unixtime

Author

Package unixtime was written by Charles Iliya Krempeaux