fix(lint): update some warning from golangci-lint

https://github.com/appleboy/gorush/issues/704

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu
2022-12-18 10:06:43 +08:00
parent 577083639c
commit 83a6e63af9
10 changed files with 35 additions and 22 deletions

View File

@@ -10,6 +10,7 @@ import (
"github.com/spf13/viper"
)
//nolint
var defaultConf = []byte(`
core:
enabled: true # enable httpd server