Documentation ¶ Index ¶ type SleepSort func (s SleepSort) Sort(list []uint) (chan []uint, chan struct{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type SleepSort ¶ type SleepSort struct { Multiplier uint } SleepSort is a class that will sleep sort a list of uints using Goroutines to sleep in milliseconds corresponding to the value of the uint multiplied by the multiplier. The output is not guaranteed to be sorted. func (SleepSort) Sort ¶ func (s SleepSort) Sort(list []uint) (chan []uint, chan struct{}) Source Files ¶ View all Source files sleepsort.go Click to show internal directories. Click to hide internal directories.