Remove old dependency on x/exp/slices in favor of stdlib

This commit is contained in:
2025-09-12 21:47:19 +02:00
parent 6718928860
commit a9a099468f
2 changed files with 2 additions and 3 deletions

2
go.mod
View File

@@ -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

View File

@@ -5,8 +5,7 @@ package vercmp
import (
"strconv"
"strings"
"golang.org/x/exp/slices"
"slices"
)
// Compare compares two version strings.