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..d134b0a 100644 --- a/vercmp.go +++ b/vercmp.go @@ -5,8 +5,7 @@ package vercmp import ( "strconv" "strings" - - "golang.org/x/exp/slices" + "slices" ) // Compare compares two version strings.