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 | 24f1c4413a6e26aa05c642a462ce77d70d478e92 (patch) | |
tree | 82f9110beb3c81e6bcfa0a460edb2fa250b5bcfa /prototypes/xgb-window.go | |
parent | 40370702d4189a30905e3eba70a2f01d09918cf1 (diff) | |
download | haven-24f1c4413a6e26aa05c642a462ce77d70d478e92.tar.gz haven-24f1c4413a6e26aa05c642a462ce77d70d478e92.tar.xz haven-24f1c4413a6e26aa05c642a462ce77d70d478e92.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 'prototypes/xgb-window.go')
0 files changed, 0 insertions, 0 deletions