From a493ed67ba161909314644fec9e25ac71c3e518f Mon Sep 17 00:00:00 2001 From: "Bo-Yi.Wu" Date: Tue, 21 Feb 2023 11:16:04 +0800 Subject: [PATCH] chore(lint): should be written without leading space Signed-off-by: Bo-Yi.Wu --- config/config.go | 2 +- logx/log.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()) }