gofmt -s -w

This commit is contained in:
Hajime Hoshi 2017-03-04 00:00:04 +09:00
parent 147798e14d
commit 33ff25cc40

View File

@ -32,10 +32,10 @@ var (
kernel32 = windows.NewLazySystemDLL("kernel32.dll") kernel32 = windows.NewLazySystemDLL("kernel32.dll")
user32 = windows.NewLazySystemDLL("user32.dll") user32 = windows.NewLazySystemDLL("user32.dll")
getCurrentProcessIdProc = kernel32.NewProc("GetCurrentProcessId") getCurrentProcessIdProc = kernel32.NewProc("GetCurrentProcessId")
getConsoleWindowProc = kernel32.NewProc("GetConsoleWindow") getConsoleWindowProc = kernel32.NewProc("GetConsoleWindow")
getWindowThreadProcessIdProc = user32.NewProc("GetWindowThreadProcessId") getWindowThreadProcessIdProc = user32.NewProc("GetWindowThreadProcessId")
showWindowAsyncProc = user32.NewProc("ShowWindowAsync") showWindowAsyncProc = user32.NewProc("ShowWindowAsync")
) )
func getCurrentProcessId() (uint32, error) { func getCurrentProcessId() (uint32, error) {