From ce01da17010524ef1c6340381c8d11e05c813399 Mon Sep 17 00:00:00 2001 From: Weilu Jia Date: Sun, 8 Aug 2021 00:59:04 -0700 Subject: [PATCH] Fix linter errors --- patcher/patcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patcher/patcher.go b/patcher/patcher.go index 203e295..a4ee2f4 100644 --- a/patcher/patcher.go +++ b/patcher/patcher.go @@ -18,7 +18,7 @@ var modPSAPI *windows.LazyDLL = windows.NewLazySystemDLL("psapi.dll") var procReadProcessMemory *windows.LazyProc = modKernel32.NewProc("ReadProcessMemory") var procWriteProcessMemory *windows.LazyProc = modKernel32.NewProc("WriteProcessMemory") var procVirtualProtectEx *windows.LazyProc = modKernel32.NewProc("VirtualProtectEx") -var procVirtualQueryEx *windows.LazyProc = modKernel32.NewProc("VirtualQueryEx") +var procVirtualQueryEx *windows.LazyProc = modKernel32.NewProc("VirtualQueryEx") //lint:ignore U1000 Will use later var procEnumProcessModules *windows.LazyProc = modPSAPI.NewProc("EnumProcessModules") var procGetModuleInformation *windows.LazyProc = modPSAPI.NewProc("GetModuleInformation") var procGetModuleFileNameExA *windows.LazyProc = modPSAPI.NewProc("GetModuleFileNameExA")