mirror of
https://github.com/golang/go
synced 2024-11-23 04:00:03 -07:00
cmp: gofmt
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>
This commit is contained in:
parent
a57658171f
commit
6a4a5966c3
@ -8,8 +8,8 @@ import (
|
||||
"cmp"
|
||||
"fmt"
|
||||
"math"
|
||||
"sort"
|
||||
"slices"
|
||||
"sort"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@ -133,9 +133,9 @@ func ExampleOr() {
|
||||
|
||||
func ExampleOr_sort() {
|
||||
type Order struct {
|
||||
Product string
|
||||
Product string
|
||||
Customer string
|
||||
Price float64
|
||||
Price float64
|
||||
}
|
||||
orders := []Order{
|
||||
{"foo", "alice", 1.00},
|
||||
|
Loading…
Reference in New Issue
Block a user