diff options
author | Přemysl Janouch <p@janouch.name> | 2018-07-30 10:04:05 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-07-30 10:07:02 +0200 |
commit | 404aa8c9cc7069e284e98b9e1f5964fc2dc6eca0 (patch) | |
tree | 1c584d16b5b4f1a2b80be9e433a398d8ea47dcd0 /liberty | |
parent | 90129ee2bcf67f978b7746e80d2509a8141a3049 (diff) | |
download | xK-404aa8c9cc7069e284e98b9e1f5964fc2dc6eca0.tar.gz xK-404aa8c9cc7069e284e98b9e1f5964fc2dc6eca0.tar.xz xK-404aa8c9cc7069e284e98b9e1f5964fc2dc6eca0.zip |
hid: use time.Time and time.Duration
It improves the code significantly over explicit int64 conversions.
Despite carrying unnecessary timezone information, time.Time also
carries a monotonic reading of time, which allows for more precise
measurement of time differences.
Diffstat (limited to 'liberty')
0 files changed, 0 insertions, 0 deletions