From 9a0e5809c1c78cead74975876c7672d745713df6 Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Mon, 1 Jul 2024 19:47:52 -0700 Subject: [PATCH] remove seed for random number generator, deprecated --- wrp.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/wrp.go b/wrp.go index eae564b..3962b90 100644 --- a/wrp.go +++ b/wrp.go @@ -655,8 +655,6 @@ func main() { ctx, cncl = chromedp.NewContext(actx) defer cncl() - rand.Seed(time.Now().UnixNano()) - c := make(chan os.Signal) signal.Notify(c, os.Interrupt, syscall.SIGTERM) go func() {