From a9a099468f6cd0dee9b2366d085b5c70efd5bc26 Mon Sep 17 00:00:00 2001 From: Elara6331 Date: Fri, 12 Sep 2025 21:47:19 +0200 Subject: [PATCH] Remove old dependency on x/exp/slices in favor of stdlib --- go.mod | 2 +- vercmp.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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.