✏️ make lint happy

This commit is contained in:
fumiama
2021-12-19 11:39:30 +08:00
parent a9f98763c4
commit 4ad7ff7971
7 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
// Package process 流程控制相关
package process
import (
@@ -5,6 +6,7 @@ import (
"time"
)
// SleepAbout1sTo2s 随机阻塞等待 1 ~ 2s
func SleepAbout1sTo2s() {
time.Sleep(time.Second + time.Millisecond*time.Duration(rand.Intn(1000)))
}