diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/uapi_bsd.go | 3 | ||||
-rw-r--r-- | ipc/uapi_linux.go | 5 | ||||
-rw-r--r-- | ipc/uapi_windows.go | 3 |
3 files changed, 7 insertions, 4 deletions
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 |