Versions in this module Expand all Collapse all v1 v1.0.0 Mar 6, 2019 Changes in this version + func ToChan(totalLength int, partitionLength int) <-chan Indices + func ToFunc(totalLength int, partitionLength int, hf HandleFunc) + func ToHandler(totalLength int, partitionLength int, h Handler) + type HandleFunc func(low int, high int) + type Handler interface + Handle func(lowIndex int, highIndex int) + type Indices struct + High int + Low int + func ToIndices(totalLength int, partitionLength int) []Indices + type SliceHandler struct + Parts []Indices + func (h *SliceHandler) Handle(lowIndex int, highIndex int)