Skip to content

Switch to UnixMilli funcs (Go 1.17) #12

Description

@vtopc

https://pkg.go.dev/time#Time.UnixMilli
and
https://pkg.go.dev/time#UnixMilli


Get rid of https://pkg.go.dev/time#Time.UnixNano

The result is undefined if the Unix time in nanoseconds cannot be represented by an int64 (a date before the year 1678 or after 2262). Note that this means the result of calling UnixNano on the zero Time is undefined.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions