diff --git a/go.mod b/go.mod index aa92edd..4512b42 100644 --- a/go.mod +++ b/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 diff --git a/vercmp.go b/vercmp.go index 4cffc18..496b052 100644 --- a/vercmp.go +++ b/vercmp.go @@ -3,10 +3,9 @@ package vercmp import ( + "slices" "strconv" "strings" - - "golang.org/x/exp/slices" ) // Compare compares two version strings. diff --git a/vercmp_test.go b/vercmp_test.go index 663263b..3b25929 100644 --- a/vercmp_test.go +++ b/vercmp_test.go @@ -1,9 +1,8 @@ package vercmp import ( + "slices" "testing" - - "golang.org/x/exp/slices" ) func TestSepLabel(t *testing.T) {