shuffle

package
v0.0.0-...-ff5fc12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2015 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shuffle

func Shuffle(data sort.Interface)

Shuffle sorts data in a randomized order. It uses the default Source in math/rand, so if clients want to manipulate the outcome, they should call the appropriate functions in math/rand.

TODO: Add ability to use custom Sources.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL