From adbcb3956de780205ae267857c79c15d1cf88244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:05:15 +0800 Subject: [PATCH] chore: make lint happy --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 9851883d9f..d21599c505 100644 --- a/main.go +++ b/main.go @@ -308,7 +308,7 @@ func init() { func main() { if !strings.Contains(runtime.Version(), "go1.2") { // go1.20之前版本需要全局 seed,其他插件无需再 seed - rand.Seed(time.Now().UnixNano()) + rand.Seed(time.Now().UnixNano()) //nolint: staticcheck } // 帮助 zero.OnFullMatchGroup([]string{"help", "/help", ".help", "菜单"}, zero.OnlyToMe).SetBlock(true).