Bug#974934: RFP: golang-github-ncabatoff-go-seq -- sequence Go values to allow sorting them
Package: wnpp
Severity: wishlist
* Package name : golang-github-ncabatoff-go-seq
Version : 0.0~git20180805.b08ef85-1
Upstream Author : Nick Cabatoff
* URL : https://github.com/ncabatoff/go-seq
* License : Expat
Programming Lang: Go
Description : sequence Go values to allow sorting them
This package is intended to allow ordering (most) values via reflection,
much like go-cmp allows comparing values for equality.
.
This is helpful when trying to write Less() methods for sorting
structures.
.
Notable unsupported types include the builtin complex type, channels,
functions, and maps with non-string keys. Pointers can be ordered if
their underlying types can be ordered.
This is a dependency for prometheus-process-exporter, which was previously
vendored and got unvendored upstream. I've got the packaging which I'll
provide as an MR once this bug has been filed.
Thanks,
Guillem
Reply to: