all: implement staticcheck suggestions

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-07-19 10:47:17 +02:00
parent 39fd161bea
commit 6ab43aba3e
5 changed files with 2 additions and 7 deletions
-2
View File
@@ -29,8 +29,6 @@ const doubleClickDuration = 200 * time.Millisecond
// Click detects click gestures in the form
// of ClickEvents.
type Click struct {
// state tracks the gesture state.
state ClickState
// clickedAt is the timestamp at which
// the last click occurred.
clickedAt time.Duration