Files
lo/docs/data/core-shuffle.md
T
Samuel Berthe fa095e4b4f fix(doc): fix go playground demo URL (#832)
* fix(doc): fix go playground demo URL

* fix(doc): add more go playground demo URL
2026-03-06 00:09:59 +01:00

492 B
Raw Blame History

name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
name slug sourceRef category subCategory playUrl variantHelpers similarHelpers position signatures
Shuffle shuffle slice.go#L322 core slice https://go.dev/play/p/whgrQWwOy-j
core#slice#shuffle
mutable#slice#shuffle
core#slice#sample
core#slice#samples
core#slice#sampleby
core#slice#samplesby
180
func Shuffle[T any, Slice ~[]T](collection Slice) Slice

Returns a slice of shuffled values (FisherYates). Deprecated: use mutable.Shuffle.