Remove random.Seed() call from robot-name's approach file

The Robot Name exercise has a Dig Deeper section which uses random.Seed(). However, this function has been deprecated in Go 1.20.

From the Go Documentation on random.Seed():

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.

I created a PR to fix this, but let me know if this still needs some work.

1 Like