From 0a1721d5b284f62edf02d23b1c8c3e8305bc97cd Mon Sep 17 00:00:00 2001 From: Carlisia Campos Date: Thu, 19 Nov 2015 06:56:28 -0800 Subject: [PATCH] Add a few super minor lint fixes Other lint warnings left behind are ones due to external package and due to maintainer's preferences. --- caddy/caddy.go | 8 +++++--- caddy/config.go | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/caddy/caddy.go b/caddy/caddy.go index e88876322..4c6f2237b 100644 --- a/caddy/caddy.go +++ b/caddy/caddy.go @@ -33,11 +33,13 @@ import ( // Configurable application parameters var ( - // The name and version of the application. - AppName string + // AppName is the name of the application. + AppName string + + // AppVersion is the version of the application. AppVersion string - // If true, initialization will not show any informative output. + // Quiet when set to true, will not show any informative output on initialization. Quiet bool // HTTP2 indicates whether HTTP2 is enabled or not. diff --git a/caddy/config.go b/caddy/config.go index 5819fea88..e29826751 100644 --- a/caddy/config.go +++ b/caddy/config.go @@ -348,13 +348,13 @@ func DefaultInput() CaddyfileInput { // These defaults are configurable through the command line var ( - // Site root + // Root is the site root Root = DefaultRoot - // Site host + // Host is the site host Host = DefaultHost - // Site port + // Port is the site port Port = DefaultPort )