diff options
Diffstat (limited to 'ipc/namedpipe/file.go')
-rw-r--r-- | ipc/namedpipe/file.go | 6 |
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 { |