aboutsummaryrefslogtreecommitdiff
path: root/tai64n/tai64n.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: apply gofumptJason A. Donenfeld2021-12-091-3/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tai64n: add string representation for error messagesJason A. Donenfeld2021-02-031-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump copyrightJason A. Donenfeld2021-01-281-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tai64n: make the test deterministicDmytro Shynkevych2020-05-061-4/+7
| | | | | | | In the presence of preemption, the current test may fail transiently. This uses static test data instead to ensure consistent behavior. Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
* global: update header comments and modulesJason A. Donenfeld2020-05-021-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tai64n: whiten nano secondsJason A. Donenfeld2019-02-051-2/+3
| | | | Avoid being too precise of a time oracle.
* Update copyrightJason A. Donenfeld2019-02-051-2/+2
|
* tai64n: use proper nanoseconds offsetJason A. Donenfeld2018-11-081-1/+1
| | | | | | The code before was obviously wrong. Reported-by: Vlad Krasnov <vlad@cloudflare.com>
* global: fix up copyright headersJason A. Donenfeld2018-09-161-1/+1
|
* global: Add SPDX tags and copyright headerJason A. Donenfeld2018-05-031-0/+5
| | | | Mathias should probably add his copyright headers to each file too.
* Use relative importsJason A. Donenfeld2018-02-121-0/+26