From 3bf41b06ae6ec9a558d3b1f1f315509ccef97010 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 14 May 2019 09:09:52 +0200 Subject: global: regroup all imports --- ipc/uapi_bsd.go | 3 ++- ipc/uapi_linux.go | 5 +++-- ipc/uapi_windows.go | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'ipc') diff --git a/ipc/uapi_bsd.go b/ipc/uapi_bsd.go index f66c386..75cc0e3 100644 --- a/ipc/uapi_bsd.go +++ b/ipc/uapi_bsd.go @@ -10,11 +10,12 @@ package ipc import ( "errors" "fmt" - "golang.org/x/sys/unix" "net" "os" "path" "unsafe" + + "golang.org/x/sys/unix" ) var socketDirectory = "/var/run/wireguard" diff --git a/ipc/uapi_linux.go b/ipc/uapi_linux.go index 8af3d8c..a3c95ca 100644 --- a/ipc/uapi_linux.go +++ b/ipc/uapi_linux.go @@ -8,11 +8,12 @@ package ipc import ( "errors" "fmt" - "golang.org/x/sys/unix" - "golang.zx2c4.com/wireguard/rwcancel" "net" "os" "path" + + "golang.org/x/sys/unix" + "golang.zx2c4.com/wireguard/rwcancel" ) var socketDirectory = "/var/run/wireguard" diff --git a/ipc/uapi_windows.go b/ipc/uapi_windows.go index 8f0268d..b3aeb26 100644 --- a/ipc/uapi_windows.go +++ b/ipc/uapi_windows.go @@ -6,8 +6,9 @@ package ipc import ( - "github.com/Microsoft/go-winio" "net" + + "github.com/Microsoft/go-winio" ) //TODO: replace these with actual standard windows error numbers from the win package -- cgit v1.2.3