mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
all: Run gofumpt -l -w .
This commit is contained in:
@@ -14,14 +14,13 @@
|
||||
package collections
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
"github.com/gohugoio/hugo/common/hreflect"
|
||||
"github.com/gohugoio/hugo/common/maps"
|
||||
|
||||
"errors"
|
||||
)
|
||||
|
||||
// Merge creates a copy of the final parameter in params and merges the preceding
|
||||
|
@@ -14,11 +14,10 @@
|
||||
package collections
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"reflect"
|
||||
|
||||
"errors"
|
||||
|
||||
"github.com/mitchellh/hashstructure"
|
||||
)
|
||||
|
||||
|
@@ -876,7 +876,7 @@ func BenchmarkWhereOps(b *testing.B) {
|
||||
j := rand.Intn(i + 1)
|
||||
seq[i], seq[j] = seq[j], seq[i]
|
||||
}
|
||||
//results, err = ns.Where(context.Background(), test.seq, test.key, test.op, test.match)
|
||||
// results, err = ns.Where(context.Background(), test.seq, test.key, test.op, test.match)
|
||||
runOps := func(b *testing.B, op, match string) {
|
||||
_, err := ns.Where(ctx, seq, "foo", op, match)
|
||||
if err != nil {
|
||||
@@ -901,5 +901,4 @@ func BenchmarkWhereOps(b *testing.B) {
|
||||
runOps(b, "like", "^bar")
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user