refactor: replace experimental maps and slices with stdlib (#20679)

The experimental functions are now available in the standard library in
Go 1.23 [1].

[1]: https://go.dev/doc/go1.23#new-unique-package

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
This commit is contained in:
Eng Zer Jun
2024-11-26 01:10:22 +08:00
committed by GitHub
parent 9a39f8ad4d
commit c07e5b49d4
12 changed files with 12 additions and 18 deletions
+1 -1
View File
@@ -29,6 +29,7 @@ import (
"net/http"
"path"
"runtime"
"slices"
"strconv"
"strings"
"sync"
@@ -52,7 +53,6 @@ import (
"github.com/minio/pkg/v3/trie"
"github.com/minio/pkg/v3/wildcard"
"github.com/valyala/bytebufferpool"
"golang.org/x/exp/slices"
)
const (