aboutsummaryrefslogtreecommitdiff
path: root/device/device_test.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2022-03-16 16:09:48 -0700
committerJosh Bleecher Snyder <josh@tailscale.com>2022-03-16 16:09:48 -0700
commit42c9af45e12dbb2de4d3c273bfc7deeda984f827 (patch)
tree67d59df66ccd8683f92efb256323257adb240e5b /device/device_test.go
parentae6bc4dd64e149270a86d649c92728432a50945f (diff)
downloadwireguard-go-42c9af45e12dbb2de4d3c273bfc7deeda984f827.tar.gz
wireguard-go-42c9af45e12dbb2de4d3c273bfc7deeda984f827.zip
all: update to Go 1.18
Bump go.mod and README. Switch to upstream net/netip. Use strings.Cut. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'device/device_test.go')
-rw-r--r--device/device_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/device_test.go b/device/device_test.go
index b484ca2..ab7236e 100644
--- a/device/device_test.go
+++ b/device/device_test.go
@@ -11,6 +11,7 @@ import (
"fmt"
"io"
"math/rand"
+ "net/netip"
"runtime"
"runtime/pprof"
"sync"
@@ -18,7 +19,6 @@ import (
"testing"
"time"
- "golang.zx2c4.com/go118/netip"
"golang.zx2c4.com/wireguard/conn"
"golang.zx2c4.com/wireguard/conn/bindtest"
"golang.zx2c4.com/wireguard/tun/tuntest"