Change-Id: Icdd373c9bae20ce08a21eb54b424067bd17f1f79
Reviewed-on: https://go-review.googlesource.com/c/go/+/531236
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
"cmp"
"fmt"
"math"
- "sort"
"slices"
+ "sort"
"testing"
)
func ExampleOr_sort() {
type Order struct {
- Product string
+ Product string
Customer string
- Price float64
+ Price float64
}
orders := []Order{
{"foo", "alice", 1.00},