diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2022-03-16 16:09:48 -0700 |
---|---|---|
committer | Josh Bleecher Snyder <josh@tailscale.com> | 2022-03-16 16:09:48 -0700 |
commit | 42c9af45e12dbb2de4d3c273bfc7deeda984f827 (patch) | |
tree | 67d59df66ccd8683f92efb256323257adb240e5b /tun/netstack/examples/ping_client.go | |
parent | ae6bc4dd64e149270a86d649c92728432a50945f (diff) |
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 'tun/netstack/examples/ping_client.go')
-rw-r--r-- | tun/netstack/examples/ping_client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/netstack/examples/ping_client.go b/tun/netstack/examples/ping_client.go index cbd54b8..a1bc7f8 100644 --- a/tun/netstack/examples/ping_client.go +++ b/tun/netstack/examples/ping_client.go @@ -12,12 +12,12 @@ import ( "bytes" "log" "math/rand" + "net/netip" "time" "golang.org/x/net/icmp" "golang.org/x/net/ipv4" - "golang.zx2c4.com/go118/netip" "golang.zx2c4.com/wireguard/conn" "golang.zx2c4.com/wireguard/device" "golang.zx2c4.com/wireguard/tun/netstack" |