chore: coding style (#3959)

This commit is contained in:
Kevin Wan
2024-03-02 22:45:24 +08:00
committed by GitHub
parent e08ba2fee8
commit 45be48a4ee
10 changed files with 23 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ type RedisLock struct {
}
func init() {
rand.Seed(time.Now().UnixNano())
rand.NewSource(time.Now().UnixNano())
}
// NewRedisLock returns a RedisLock.