doc.go 264 B

12345
  1. // Package slices has several utilities for operating on slices given Go's
  2. // lack of generic types. Many functions take an argument of type func(l, r T)
  3. // bool, that's expected to compute l < r where T is T in []T, the type of the
  4. // given slice.
  5. package slices