Remove old dependency on x/exp/slices in favor of stdlib
This commit is contained in:
2
go.mod
2
go.mod
@@ -1,5 +1,5 @@
|
||||
module go.elara.ws/vercmp
|
||||
|
||||
go 1.20
|
||||
go 1.21
|
||||
|
||||
require golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
|
||||
|
||||
@@ -3,10 +3,9 @@
|
||||
package vercmp
|
||||
|
||||
import (
|
||||
"slices"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/exp/slices"
|
||||
)
|
||||
|
||||
// Compare compares two version strings.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
package vercmp
|
||||
|
||||
import (
|
||||
"slices"
|
||||
"testing"
|
||||
|
||||
"golang.org/x/exp/slices"
|
||||
)
|
||||
|
||||
func TestSepLabel(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user