More Go linters enabled, issues fixed

Ref: #528

Enables "staticcheck", "varcheck", "structcheck", "aligncheck"
This commit is contained in:
Andrey Smirnov committed 2017-05-03 18:23:14 +03:00
1 parent 7a7c9cd26c
commit 51213899b7
14 files changed
+50 -49

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import (
)
// ConfigStructure is structure of main configuration
type ConfigStructure struct {
type ConfigStructure struct { // nolint: aligncheck
RootDir string `json:"rootDir"`
DownloadConcurrency int `json:"downloadConcurrency"`
DownloadLimit int64 `json:"downloadSpeedLimit"`