Fix linting problems

This commit is contained in:
Jamie Curnow
2021-06-30 11:20:34 +10:00
parent 80a31b3041
commit 86a35beb3a
26 changed files with 53 additions and 51 deletions

View File

@@ -14,10 +14,10 @@ var IsSetup bool
// ErrorReporting defines whether we will send errors to Sentry
var ErrorReporting bool
// PublicKey ...
// PublicKey is the public key
var PublicKey string
// PrivateKey ...
// PrivateKey is the private key
var PrivateKey string
var logLevel logger.Level
@@ -27,7 +27,7 @@ type log struct {
Format string `json:"format" envconfig:"optional,default=nice"`
}
// Configuration ...
// Configuration is the main configuration object
var Configuration struct {
DataFolder string `json:"data_folder" envconfig:"optional,default=/data"`
Log log `json:"log"`