aboutsummaryrefslogtreecommitdiff
path: root/ipc/namedpipe/file.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-12-09 17:55:50 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-12-09 23:15:55 +0100
commit9c9e7e2724340280d0ca4ff29c067f2d144562c0 (patch)
tree239826ccafe70e5cee73936d9bcea8989dd33899 /ipc/namedpipe/file.go
parent2dd424e2d808703339688ff78e32ed30cd0dfe87 (diff)
downloadwireguard-go-9c9e7e2724340280d0ca4ff29c067f2d144562c0.tar.gz
wireguard-go-9c9e7e2724340280d0ca4ff29c067f2d144562c0.zip
global: apply gofumpt
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ipc/namedpipe/file.go')
-rw-r--r--ipc/namedpipe/file.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipc/namedpipe/file.go b/ipc/namedpipe/file.go
index 9c2481d..c5dd48a 100644
--- a/ipc/namedpipe/file.go
+++ b/ipc/namedpipe/file.go
@@ -22,8 +22,10 @@ import (
type timeoutChan chan struct{}
-var ioInitOnce sync.Once
-var ioCompletionPort windows.Handle
+var (
+ ioInitOnce sync.Once
+ ioCompletionPort windows.Handle
+)
// ioResult contains the result of an asynchronous IO operation
type ioResult struct {