1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:10:07 -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:
Tobias Klauser 2023-09-27 09:04:38 +02:00 committed by Gopher Robot
parent a57658171f
commit 6a4a5966c3

View File

@ -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},