aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/service_manager.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-14 09:09:01 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-14 09:20:29 +0200
commit6f69072dccdf202ee5c5a2bc8952554b93bc17ac (patch)
tree8a16669f242614a3eb4f980ad499adc9ba73638a /service/service_manager.go
parentservice: reuse golang.org/x/sys/windows address family constants (diff)
downloadwireguard-windows-6f69072dccdf202ee5c5a2bc8952554b93bc17ac.tar.xz
wireguard-windows-6f69072dccdf202ee5c5a2bc8952554b93bc17ac.zip
global: regroup all imports
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'service/service_manager.go')
-rw-r--r--service/service_manager.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/service/service_manager.go b/service/service_manager.go
index a3642712..0284810f 100644
--- a/service/service_manager.go
+++ b/service/service_manager.go
@@ -7,10 +7,6 @@ package service
import (
"errors"
- "golang.org/x/sys/windows"
- "golang.org/x/sys/windows/svc"
- "golang.zx2c4.com/wireguard/windows/conf"
- "golang.zx2c4.com/wireguard/windows/ringlogger"
"log"
"os"
"runtime"
@@ -19,6 +15,11 @@ import (
"syscall"
"time"
"unsafe"
+
+ "golang.org/x/sys/windows"
+ "golang.org/x/sys/windows/svc"
+ "golang.zx2c4.com/wireguard/windows/conf"
+ "golang.zx2c4.com/wireguard/windows/ringlogger"
)
type managerService struct{}