aboutsummaryrefslogtreecommitdiff
path: root/nexgb/examples/xinerama/main.go
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-07-30 10:04:05 +0200
committerPřemysl Janouch <p@janouch.name>2018-07-30 10:07:02 +0200
commit24f1c4413a6e26aa05c642a462ce77d70d478e92 (patch)
tree82f9110beb3c81e6bcfa0a460edb2fa250b5bcfa /nexgb/examples/xinerama/main.go
parent40370702d4189a30905e3eba70a2f01d09918cf1 (diff)
downloadhaven-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 'nexgb/examples/xinerama/main.go')
0 files changed, 0 insertions, 0 deletions