all: Use some Go 1.21 features (#9409)

This commit is contained in:
Jakob Borg
2024-02-10 21:02:42 +01:00
committed by GitHub
parent 96c30f8387
commit e1dd36561d
13 changed files with 23 additions and 72 deletions
+1 -1
View File
@@ -18,6 +18,7 @@ import (
"net/http/httptest"
"os"
"path/filepath"
"slices"
"strconv"
"strings"
"testing"
@@ -46,7 +47,6 @@ import (
"github.com/syncthing/syncthing/lib/tlsutil"
"github.com/syncthing/syncthing/lib/ur"
"github.com/thejerf/suture/v4"
"golang.org/x/exp/slices"
)
var (