diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-12-09 17:53:59 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-12-09 23:13:56 +0100 |
commit | 182247f5c830f93bfdb2a843a0ce3d394008c6d0 (patch) | |
tree | a2e3c0356c6c5ff2fcb8b572654d39e4735c4850 /ui/ui.go | |
parent | build: update to go 1.17.4 and drop upstreamed patches (diff) | |
download | wireguard-windows-182247f5c830f93bfdb2a843a0ce3d394008c6d0.tar.xz wireguard-windows-182247f5c830f93bfdb2a843a0ce3d394008c6d0.zip |
global: apply gofumpt
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -20,10 +20,12 @@ import ( "golang.zx2c4.com/wireguard/windows/version" ) -var noTrayAvailable = false -var shouldQuitManagerWhenExiting = false -var startTime = time.Now() -var IsAdmin = false // A global, because this really is global for the process +var ( + noTrayAvailable = false + shouldQuitManagerWhenExiting = false + startTime = time.Now() + IsAdmin = false // A global, because this really is global for the process +) func RunUI() { runtime.LockOSThread() |