Fixed some golint warnings

This commit is contained in:
2016-03-29 03:06:56 +03:00
parent 850344cdd9
commit 945e044bbf
2 changed files with 17 additions and 13 deletions

12
main.go
View File

@@ -17,10 +17,16 @@ import (
const (
// time between processing xinput output
SLEEP_TIME = 3 * time.Second
SLEEP_TIME = 3 * time.Second
// Buffer that we read from xinput
KEYBOARD_BUFER_SIZE = 10000
DATABASE_NAME = "file:gokeystat.db?cache=shared&mode=rwc"
CAPTURE_TIME = 5 // time in seconds between capturing keyboard to db
// Database that stores keylog and other settings
DATABASE_NAME = "file:gokeystat.db?cache=shared&mode=rwc"
// time in seconds between capturing keyboard to db
CAPTURE_TIME = 5
)
// StatForTime stotres pressed keys and beginning time