Skip to content

Commit 5d2898b

Browse files
chore(lint): 改进代码样式 (#956)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 47f176a commit 5d2898b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ func init() {
308308

309309
func main() {
310310
if !strings.Contains(runtime.Version(), "go1.2") { // go1.20之前版本需要全局 seed,其他插件无需再 seed
311-
rand.Seed(time.Now().UnixNano())
311+
rand.Seed(time.Now().UnixNano())
312312
}
313313
// 帮助
314314
zero.OnFullMatchGroup([]string{"help", "/help", ".help", "菜单"}, zero.OnlyToMe).SetBlock(true).

0 commit comments

Comments
 (0)