-
-
Notifications
You must be signed in to change notification settings - Fork 521
Closed
Labels
good-first-issueGood for beginners starting to contributeGood for beginners starting to contributehelp-wanted
Milestone
Description
Summary
Since Go 1.20 release, math/rand.Seed is marked "Deprecated"
Looks like five instances to consider updating:
find . -name "*.go" -type f -print | xargs grep .Seed
./pkg/pwgen/pwgen_test.go: mrand.Seed(1789)
./pkg/pwgen/rand.go: rand.Seed(time.Now().Unix() + int64(os.Getpid()+os.Getppid()))
./pkg/fsutil/fsutil.go: rand.Seed(time.Now().UnixNano())
./pkg/gitconfig/config_test.go: rand.Seed(time.Now().Unix())
./internal/action/binary_test.go: rand.Seed(42)
Metadata
Metadata
Assignees
Labels
good-first-issueGood for beginners starting to contributeGood for beginners starting to contributehelp-wanted