diff options
author | 2021-12-09 17:55:50 +0100 | |
---|---|---|
committer | 2021-12-09 23:15:55 +0100 | |
commit | 9c9e7e2724340280d0ca4ff29c067f2d144562c0 (patch) | |
tree | 239826ccafe70e5cee73936d9bcea8989dd33899 /conn/bind_std.go | |
parent | device: handle peer post config on blank line (diff) | |
download | wireguard-go-9c9e7e2724340280d0ca4ff29c067f2d144562c0.tar.xz wireguard-go-9c9e7e2724340280d0ca4ff29c067f2d144562c0.zip |
global: apply gofumpt
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conn/bind_std.go')
-rw-r--r-- | conn/bind_std.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/conn/bind_std.go b/conn/bind_std.go index a3cbb15..de03b10 100644 --- a/conn/bind_std.go +++ b/conn/bind_std.go @@ -30,8 +30,10 @@ func NewStdNetBind() Bind { return &StdNetBind{} } type StdNetEndpoint net.UDPAddr -var _ Bind = (*StdNetBind)(nil) -var _ Endpoint = (*StdNetEndpoint)(nil) +var ( + _ Bind = (*StdNetBind)(nil) + _ Endpoint = (*StdNetEndpoint)(nil) +) func (*StdNetBind) ParseEndpoint(s string) (Endpoint, error) { e, err := netip.ParseAddrPort(s) |