all: use Go 1.21 slices, maps instead of x/exp/{slices,maps}

Updates #8419

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2023-08-16 22:09:53 -07:00
committed by Brad Fitzpatrick
parent e8d140654a
commit e8551d6b40
47 changed files with 61 additions and 65 deletions

View File

@@ -7,9 +7,8 @@ package multierr
import (
"errors"
"slices"
"strings"
"golang.org/x/exp/slices"
)
// An Error represents multiple errors.

View File

@@ -4,7 +4,8 @@
package set
import (
"golang.org/x/exp/slices"
"slices"
"tailscale.com/types/views"
)

View File

@@ -5,9 +5,8 @@ package slicesx
import (
"reflect"
"slices"
"testing"
"golang.org/x/exp/slices"
)
func TestInterleave(t *testing.T) {