status-go/vendor/github.com/anacrolix/missinggo/slices/doc.go

6 lines
264 B
Go
Raw Normal View History

2022-03-10 09:44:48 +00:00
// Package slices has several utilities for operating on slices given Go's
// lack of generic types. Many functions take an argument of type func(l, r T)
// bool, that's expected to compute l < r where T is T in []T, the type of the
// given slice.
package slices