Skip to content

Commit 28ce7ab

Browse files
committed
bump
1 parent 9624aa4 commit 28ce7ab

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77

88
"github.com/bmatcuk/doublestar/v4"
99
"github.com/samber/lo"
10+
"github.com/samber/lo/mutable"
1011
)
1112

1213
type Docs []*Doc
@@ -29,7 +30,7 @@ func NewDocs(
2930
}
3031

3132
sort.Strings(matches)
32-
matches = lo.Reverse(matches)
33+
mutable.Reverse(matches)
3334

3435
if limit > 0 && len(matches) > limit {
3536
matches = matches[:limit]

go.mod

-2
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,3 @@ require (
7070
gopkg.in/yaml.v2 v2.4.0 // indirect
7171
gopkg.in/yaml.v3 v3.0.1 // indirect
7272
)
73-
74-
replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.16

0 commit comments

Comments
 (0)