diff --git a/exercises/practice/robot-name/.approaches/introduction.md b/exercises/practice/robot-name/.approaches/introduction.md index cddd4087c..f70d145bf 100644 --- a/exercises/practice/robot-name/.approaches/introduction.md +++ b/exercises/practice/robot-name/.approaches/introduction.md @@ -20,7 +20,6 @@ package robotname import ( "fmt" "math/rand" - "time" ) // Robot is a struct with a string field. @@ -48,7 +47,6 @@ func generateRobotNames() []string { } } - rand.Seed(time.Now().UnixNano()) rand.Shuffle(len(names), func(i, j int) { names[i], names[j] = names[j], names[i] }) return names } diff --git a/exercises/practice/robot-name/.approaches/shuffle/content.md b/exercises/practice/robot-name/.approaches/shuffle/content.md index 7f7e3131f..6021fefe5 100644 --- a/exercises/practice/robot-name/.approaches/shuffle/content.md +++ b/exercises/practice/robot-name/.approaches/shuffle/content.md @@ -7,7 +7,6 @@ package robotname import ( "fmt" "math/rand" - "time" ) // Robot is a struct with a string field. @@ -35,7 +34,6 @@ func generateRobotNames() []string { } } - rand.Seed(time.Now().UnixNano()) rand.Shuffle(len(names), func(i, j int) { names[i], names[j] = names[j], names[i] }) return names }