diff options
Diffstat (limited to 'docs/content/en/functions/collections/Shuffle.md')
-rw-r--r-- | docs/content/en/functions/collections/Shuffle.md | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/docs/content/en/functions/collections/Shuffle.md b/docs/content/en/functions/collections/Shuffle.md deleted file mode 100644 index 0f28eb4d8..000000000 --- a/docs/content/en/functions/collections/Shuffle.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: collections.Shuffle -description: Returns a random permutation of a given array or slice. -categories: [] -keywords: [] -action: - aliases: [shuffle] - related: - - functions/collections/Reverse - - functions/collections/Sort - - functions/collections/Uniq - returnType: any - signatures: [collections.Shuffle COLLECTION] -aliases: [/functions/shuffle] ---- - -```go-html-template -{{ shuffle (seq 1 2 3) }} → [3 1 2] -{{ shuffle (slice "a" "b" "c") }} → [b a c] -``` - -The result will vary from one build to the next. |