chore: style fixes from go fix (#10846)
Just `go fix ./...` Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ func Intn(n int) int {
|
||||
}
|
||||
|
||||
// Shuffle the order of elements in slice.
|
||||
func Shuffle(slice interface{}) {
|
||||
func Shuffle(slice any) {
|
||||
rv := reflect.ValueOf(slice)
|
||||
swap := reflect.Swapper(slice)
|
||||
length := rv.Len()
|
||||
|
||||
Reference in New Issue
Block a user