This repository was archived by the owner on Mar 18, 2021. It is now read-only.

Description
Hello Dave,
Thanks for the great package!
I was looking for an elegant way of getting max/min of a slice of structs.
// Example
type benchmark struct {
time int
size int
}
// Given
var benchmarks []benchmark
/*
I sometimes need to find one of the following benchmarks
- fastest (min time)
- slowest (max time)
- smallest (min size)
- largest (max size)
*/