diff --git a/config/config.go b/config/config.go index 7214812..6f2270a 100644 --- a/config/config.go +++ b/config/config.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/viper" ) -// nolint +//nolint var defaultConf = []byte(` core: enabled: true # enable httpd server diff --git a/logx/log.go b/logx/log.go index 5bb9cf3..922ea70 100644 --- a/logx/log.go +++ b/logx/log.go @@ -33,7 +33,7 @@ type LogPushEntry struct { var isTerm bool -// nolint +//nolint func init() { isTerm = isatty.IsTerminal(os.Stdout.Fd()) }