Closed rgerardi closed 12 months ago
Deprecated use of rand.Seed in randomNumbers.go
rand.Seed
randomNumbers.go
From Go Doc:
Deprecated: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator.
@rgerardi You are correct. I am going to mention it on Chapter 14 where I will talk about forthcoming Go versions + backwards compatibility.
Deprecated use of
rand.Seed
inrandomNumbers.go
From Go Doc: