Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 309 Bytes

Built-in.md

File metadata and controls

7 lines (4 loc) · 309 Bytes

Golang Built-in packages

Time

Unix: Unix is a method that returns t as a Unix time, the number of seconds elapsed since January 1, 1970 UTC. The result does not depend on the location associated with t.

It can be used when we are sorting an event by its time in a sorted set like redis sorted set.