mirror of
https://github.com/tenox7/wrp.git
synced 2024-11-21 19:30:48 +00:00
remove seed for random number generator, deprecated
This commit is contained in:
parent
96acf94521
commit
9a0e5809c1
2
wrp.go
2
wrp.go
@ -655,8 +655,6 @@ func main() {
|
|||||||
ctx, cncl = chromedp.NewContext(actx)
|
ctx, cncl = chromedp.NewContext(actx)
|
||||||
defer cncl()
|
defer cncl()
|
||||||
|
|
||||||
rand.Seed(time.Now().UnixNano())
|
|
||||||
|
|
||||||
c := make(chan os.Signal)
|
c := make(chan os.Signal)
|
||||||
signal.Notify(c, os.Interrupt, syscall.SIGTERM)
|
signal.Notify(c, os.Interrupt, syscall.SIGTERM)
|
||||||
go func() {
|
go func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user