Preparing report...

Report for github.com/AllenDang/w32

A    Great!    Found 31 issues across 35 files

Tweet

gofmt91%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


golint11%

Golint is a linter for Go source code.

    • w32/fork.go
    • Line 46: warning: exported function OpenProcess should have comment or be unexported (golint)
    • Line 66: warning: exported function OpenThread should have comment or be unexported (golint)
    • Line 86: warning: comment on exported function ResumeThread should be of the form "ResumeThread ..." (golint)
    • Line 100: warning: comment on exported function AllocConsole should be of the form "AllocConsole ..." (golint)
    • Line 119: warning: exported function RtlCloneUserProcess should have comment or be unexported (golint)
    • w32/gdi32.go
    • Line 67: warning: exported function GetDeviceCaps should have comment or be unexported (golint)
    • Line 75: warning: exported function GetCurrentObject should have comment or be unexported (golint)
    • Line 83: warning: exported function DeleteObject should have comment or be unexported (golint)
    • Line 90: warning: exported function CreateFontIndirect should have comment or be unexported (golint)
    • Line 97: warning: exported function AbortDoc should have comment or be unexported (golint)
    • Line 104: warning: exported function BitBlt should have comment or be unexported (golint)
    • Line 121: warning: exported function PatBlt should have comment or be unexported (golint)
    • Line 135: warning: exported function CloseEnhMetaFile should have comment or be unexported (golint)
    • Line 142: warning: exported function CopyEnhMetaFile should have comment or be unexported (golint)
    • Line 150: warning: exported function CreateBrushIndirect should have comment or be unexported (golint)
    • Line 157: warning: exported function CreateCompatibleDC should have comment or be unexported (golint)
    • Line 168: warning: exported function CreateDC should have comment or be unexported (golint)
    • Line 178: warning: exported function CreateCompatibleBitmap should have comment or be unexported (golint)
    • Line 187: warning: exported function CreateDIBSection should have comment or be unexported (golint)
    • Line 199: warning: exported function CreateEnhMetaFile should have comment or be unexported (golint)
    • Line 209: warning: exported function CreateIC should have comment or be unexported (golint)
    • Line 219: warning: exported function DeleteDC should have comment or be unexported (golint)
    • Line 226: warning: exported function DeleteEnhMetaFile should have comment or be unexported (golint)
    • Line 233: warning: exported function Ellipse should have comment or be unexported (golint)
    • Line 244: warning: exported function EndDoc should have comment or be unexported (golint)
    • Line 251: warning: exported function EndPage should have comment or be unexported (golint)
    • Line 258: warning: exported function ExtCreatePen should have comment or be unexported (golint)
    • Line 269: warning: exported function GetEnhMetaFile should have comment or be unexported (golint)
    • Line 276: warning: exported function GetEnhMetaFileHeader should have comment or be unexported (golint)
    • Line 285: warning: exported function GetObject should have comment or be unexported (golint)
    • Line 294: warning: exported function GetStockObject should have comment or be unexported (golint)
    • Line 301: warning: exported function GetTextExtentExPoint should have comment or be unexported (golint)
    • Line 314: warning: exported function GetTextExtentPoint32 should have comment or be unexported (golint)
    • Line 324: warning: exported function GetTextMetrics should have comment or be unexported (golint)
    • Line 332: warning: exported function LineTo should have comment or be unexported (golint)
    • Line 341: warning: exported function MoveToEx should have comment or be unexported (golint)
    • Line 351: warning: exported function PlayEnhMetaFile should have comment or be unexported (golint)
    • Line 360: warning: exported function Rectangle should have comment or be unexported (golint)
    • Line 371: warning: exported function ResetDC should have comment or be unexported (golint)
    • Line 379: warning: exported function SelectObject should have comment or be unexported (golint)
    • Line 391: warning: exported function SetBkMode should have comment or be unexported (golint)
    • Line 403: warning: exported function SetBrushOrgEx should have comment or be unexported (golint)
    • Line 413: warning: exported function SetStretchBltMode should have comment or be unexported (golint)
    • Line 421: warning: exported function SetTextColor should have comment or be unexported (golint)
    • Line 433: warning: exported function SetBkColor should have comment or be unexported (golint)
    • Line 445: warning: exported function StartDoc should have comment or be unexported (golint)
    • Line 453: warning: exported function StartPage should have comment or be unexported (golint)
    • Line 460: warning: exported function StretchBlt should have comment or be unexported (golint)
    • Line 479: warning: exported function SetDIBitsToDevice should have comment or be unexported (golint)
    • Line 497: warning: exported function ChoosePixelFormat should have comment or be unexported (golint)
    • Line 505: warning: exported function DescribePixelFormat should have comment or be unexported (golint)
    • Line 515: warning: exported function GetEnhMetaFilePixelFormat should have comment or be unexported (golint)
    • Line 524: warning: exported function GetPixelFormat should have comment or be unexported (golint)
    • Line 531: warning: exported function SetPixelFormat should have comment or be unexported (golint)
    • Line 540: warning: exported function SwapBuffers should have comment or be unexported (golint)
    • w32/ole32.go
    • Line 21: warning: exported function CoInitializeEx should have comment or be unexported (golint)
    • Line 38: warning: exported function CoInitialize should have comment or be unexported (golint)
    • Line 42: warning: exported function CoUninitialize should have comment or be unexported (golint)
    • Line 46: warning: exported function CreateStreamOnHGlobal should have comment or be unexported (golint)
    • w32/oleaut32.go
    • Line 23: warning: exported function VariantInit should have comment or be unexported (golint)
    • Line 31: warning: exported function SysAllocString should have comment or be unexported (golint)
    • Line 37: warning: exported function SysFreeString should have comment or be unexported (golint)
    • Line 45: warning: exported function SysStringLen should have comment or be unexported (golint)
    • w32/opengl32.go
    • Line 23: warning: exported function WglCreateContext should have comment or be unexported (golint)
    • Line 31: warning: exported function WglCreateLayerContext should have comment or be unexported (golint)
    • Line 40: warning: exported function WglDeleteContext should have comment or be unexported (golint)
    • Line 48: warning: exported function WglGetProcAddress should have comment or be unexported (golint)
    • Line 56: warning: exported function WglMakeCurrent should have comment or be unexported (golint)
    • Line 65: warning: exported function WglShareLists should have comment or be unexported (golint)
    • w32/shell32.go
    • Line 27: warning: exported function SHBrowseForFolder should have comment or be unexported (golint)
    • Line 33: warning: exported function SHGetPathFromIDList should have comment or be unexported (golint)
    • Line 42: warning: exported function DragAcceptFiles should have comment or be unexported (golint)
    • Line 48: warning: exported function DragQueryFile should have comment or be unexported (golint)
    • Line 76: warning: exported function DragQueryPoint should have comment or be unexported (golint)
    • Line 85: warning: exported function DragFinish should have comment or be unexported (golint)
    • Line 89: warning: exported function ShellExecute should have comment or be unexported (golint)
    • Line 146: warning: exported function ExtractIcon should have comment or be unexported (golint)
    • w32/alpc.go
    • Line 86: warning: comment on exported function NtAlpcCreatePort should be of the form "NtAlpcCreatePort ..." (golint)
    • Line 159: warning: comment on exported function NtAlpcAcceptConnectPort should be of the form "NtAlpcAcceptConnectPort ..." (golint)
    • Line 200: warning: comment on exported function NtAlpcSendWaitReceivePort should be of the form "NtAlpcSendWaitReceivePort ..." (golint)
    • Line 251: warning: comment on exported function AlpcGetMessageAttribute should be of the form "AlpcGetMessageAttribute ..." (golint)
    • Line 264: warning: comment on exported function NtAlpcCancelMessage should be of the form "NtAlpcCancelMessage ..." (golint)
    • Line 286: warning: comment on exported function NtAlpcDisconnectPort should be of the form "NtAlpcDisconnectPort ..." (golint)
    • w32/alpc_typedef.go
    • Line 7: warning: comment on exported type ALPC_MESSAGE_ATTRIBUTES should be of the form "ALPC_MESSAGE_ATTRIBUTES ..." (with optional leading article) (golint)
    • Line 15: warning: exported type ALPC_CONTEXT_ATTR should have comment or be unexported (golint)
    • Line 23: warning: exported type ALPC_HANDLE_ATTR should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type CLIENT_ID should be of the form "CLIENT_ID ..." (with optional leading article) (golint)
    • Line 38: warning: comment on exported type UNICODE_STRING should be of the form "UNICODE_STRING ..." (with optional leading article) (golint)
    • Line 49: warning: comment on exported type OBJECT_ATTRIBUTES should be of the form "OBJECT_ATTRIBUTES ..." (with optional leading article) (golint)
    • Line 67: warning: comment on exported type PORT_MESSAGE should be of the form "PORT_MESSAGE ..." (with optional leading article) (golint)
    • Line 87: warning: exported method PORT_MESSAGE.CallbackId should have comment or be unexported (golint)
    • Line 91: warning: exported method PORT_MESSAGE.DoNotUseThisField should have comment or be unexported (golint)
    • Line 95: warning: exported const PORT_MESSAGE_SIZE should have comment or be unexported (golint)
    • Line 97: warning: comment on exported type SECURITY_QUALITY_OF_SERVICE should be of the form "SECURITY_QUALITY_OF_SERVICE ..." (with optional leading article) (golint)
    • Line 106: warning: exported const SECURITY_QOS_SIZE should have comment or be unexported (golint)
    • Line 108: warning: comment on exported type ALPC_PORT_ATTRIBUTES should be of the form "ALPC_PORT_ATTRIBUTES ..." (with optional leading article) (golint)
    • Line 132: warning: exported const SHORT_MESSAGE_MAX_SIZE should have comment or be unexported (golint)
    • Line 133: warning: exported const SHORT_MESSAGE_MAX_PAYLOAD should have comment or be unexported (golint)
    • Line 135: warning: comment on exported type AlpcShortMessage should be of the form "AlpcShortMessage ..." (with optional leading article) (golint)
    • Line 143: warning: exported function NewAlpcShortMessage should have comment or be unexported (golint)
    • Line 149: warning: exported method AlpcShortMessage.SetData should have comment or be unexported (golint)
    • Line 164: warning: comment on exported method AlpcShortMessage.GetData should be of the form "GetData ..." (golint)
    • Line 172: warning: exported method AlpcShortMessage.Reset should have comment or be unexported (golint)
    • Line 179: warning: exported type AlpcPortContext should have comment or be unexported (golint)
    • w32/comdlg32.go
    • Line 20: warning: exported function GetOpenFileName should have comment or be unexported (golint)
    • Line 27: warning: exported function GetSaveFileName should have comment or be unexported (golint)
    • Line 34: warning: exported function CommDlgExtendedError should have comment or be unexported (golint)
    • w32/psapi.go
    • Line 18: warning: exported function EnumProcesses should have comment or be unexported (golint)
    • w32/idispatch.go
    • Line 21: warning: exported type IDispatch should have comment or be unexported (golint)
    • Line 25: warning: exported method IDispatch.QueryInterface should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method IDispatch.AddRef should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method IDispatch.Release should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method IDispatch.GetIDsOfName should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method IDispatch.Invoke should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • w32/advapi32.go
    • Line 39: warning: exported var SystemTraceControlGuid should have comment or be unexported (golint)
    • Line 47: warning: exported function RegCreateKey should have comment or be unexported (golint)
    • Line 63: warning: exported function RegOpenKeyEx should have comment or be unexported (golint)
    • Line 78: warning: exported function RegCloseKey should have comment or be unexported (golint)
    • Line 89: warning: exported function RegGetRaw should have comment or be unexported (golint)
    • Line 125: warning: exported function RegSetBinary should have comment or be unexported (golint)
    • Line 144: warning: exported function RegGetString should have comment or be unexported (golint)
    • Line 190: warning: exported function RegEnumKeyEx should have comment or be unexported (golint)
    • Line 205: warning: exported function OpenEventLog should have comment or be unexported (golint)
    • Line 213: warning: exported function ReadEventLog should have comment or be unexported (golint)
    • Line 226: warning: exported function CloseEventLog should have comment or be unexported (golint)
    • Line 233: warning: exported function OpenSCManager should have comment or be unexported (golint)
    • Line 253: warning: exported function CloseServiceHandle should have comment or be unexported (golint)
    • Line 261: warning: exported function OpenService should have comment or be unexported (golint)
    • Line 274: warning: exported function StartService should have comment or be unexported (golint)
    • Line 301: warning: exported function ControlService should have comment or be unexported (golint)
    • Line 314: warning: exported function ControlTrace should have comment or be unexported (golint)
    • Line 325: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 329: warning: exported function StartTrace should have comment or be unexported (golint)
    • Line 339: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 343: warning: comment on exported function InitializeSecurityDescriptor should be of the form "InitializeSecurityDescriptor ..." (golint)
    • Line 360: warning: comment on exported function SetSecurityDescriptorDacl should be of the form "SetSecurityDescriptorDacl ..." (golint)
    • w32/fork_constants.go
    • Line 4: warning: exported const RTL_CLONE_PROCESS_FLAGS_CREATE_SUSPENDED should have comment (or a comment on this block) or be unexported (golint)
    • w32/constants.go
    • Line 8: warning: exported const FALSE should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported const NO_ERROR should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported const SE_ERR_FNF should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported const CW_USEDEFAULT should have comment (or a comment on this block) or be unexported (golint)
    • Line 522: warning: exported const LF_FACESIZE should have comment or be unexported (golint)
    • Line 925: warning: exported const CCM_FIRST should have comment (or a comment on this block) or be unexported (golint)
    • Line 1059: warning: don't use underscores in Go names; const S_OK should be SOK (golint)
    • Line 1059: warning: exported const S_OK should have comment (or a comment on this block) or be unexported (golint)
    • Line 1164: warning: exported const CLSCTX_INPROC_SERVER should have comment (or a comment on this block) or be unexported (golint)
    • Line 1175: warning: exported const COINIT_APARTMENTTHREADED should have comment (or a comment on this block) or be unexported (golint)
    • Line 1182: warning: exported const DISPATCH_METHOD should have comment (or a comment on this block) or be unexported (golint)
    • Line 1189: warning: exported const CC_FASTCALL should have comment (or a comment on this block) or be unexported (golint)
    • Line 1203: warning: exported const VT_EMPTY should have comment (or a comment on this block) or be unexported (golint)
    • Line 1257: warning: exported const DISPID_UNKNOWN should have comment (or a comment on this block) or be unexported (golint)
    • Line 1268: warning: exported const MONITOR_DEFAULTTONULL should have comment (or a comment on this block) or be unexported (golint)
    • Line 1276: warning: exported const CCHDEVICENAME should have comment (or a comment on this block) or be unexported (golint)
    • Line 1281: warning: exported const IDOK should have comment (or a comment on this block) or be unexported (golint)
    • Line 1928: warning: exported const TTF_IDISHWND should have comment (or a comment on this block) or be unexported (golint)
    • Line 1940: warning: exported const SWP_NOSIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 2126: warning: exported const CLR_INVALID should have comment or be unexported (golint)
    • Line 2224: warning: exported const STANDARD_RIGHTS_REQUIRED should have comment (or a comment on this block) or be unexported (golint)
    • Line 2255: warning: exported const MAX_MODULE_NAME32 should have comment (or a comment on this block) or be unexported (golint)
    • Line 2260: warning: exported const FOREGROUND_BLUE should have comment (or a comment on this block) or be unexported (golint)
    • Line 2292: warning: comment on exported type DWM_SHOWCONTACT should be of the form "DWM_SHOWCONTACT ..." (with optional leading article) (golint)
    • Line 2296: warning: exported const DWMSC_DOWN should have comment (or a comment on this block) or be unexported (golint)
    • Line 2305: warning: comment on exported type DWM_SOURCE_FRAME_SAMPLING should be of the form "DWM_SOURCE_FRAME_SAMPLING ..." (with optional leading article) (golint)
    • Line 2327: warning: comment on exported type DWMFLIP3DWINDOWPOLICY should be of the form "DWMFLIP3DWINDOWPOLICY ..." (with optional leading article) (golint)
    • Line 2340: warning: comment on exported type DWMNCRENDERINGPOLICY should be of the form "DWMNCRENDERINGPOLICY ..." (with optional leading article) (golint)
    • Line 2353: warning: comment on exported type DWMTRANSITION_OWNEDWINDOW_TARGET should be of the form "DWMTRANSITION_OWNEDWINDOW_TARGET ..." (with optional leading article) (golint)
    • Line 2357: warning: exported const DWMTRANSITION_OWNEDWINDOW_NULL should have comment (or a comment on this block) or be unexported (golint)
    • Line 2361: warning: comment on exported type DWMWINDOWATTRIBUTE should be of the form "DWMWINDOWATTRIBUTE ..." (with optional leading article) (golint)
    • Line 2386: warning: comment on exported type GESTURE_TYPE should be of the form "GESTURE_TYPE ..." (with optional leading article) (golint)
    • Line 2413: warning: exported const SIZE_RESTORED should have comment (or a comment on this block) or be unexported (golint)
    • Line 2484: warning: exported const ENUM_CURRENT_SETTINGS should have comment (or a comment on this block) or be unexported (golint)
    • Line 2520: warning: exported const INPUT_MOUSE should have comment (or a comment on this block) or be unexported (golint)
    • Line 2526: warning: exported const MOUSEEVENTF_ABSOLUTE should have comment (or a comment on this block) or be unexported (golint)
    • Line 2563: warning: exported const MEM_COMMIT should have comment (or a comment on this block) or be unexported (golint)
    • Line 2577: warning: exported const PROCESS_CREATE_PROCESS should have comment (or a comment on this block) or be unexported (golint)
    • Line 2593: warning: exported const PAGE_EXECUTE should have comment (or a comment on this block) or be unexported (golint)
    • w32/create_process.go
    • Line 21: warning: comment on exported function CreateProcessW should be of the form "CreateProcessW ..." (golint)
    • Line 85: warning: exported function CreateProcessQuick should have comment or be unexported (golint)
    • Line 102: warning: exported function TerminateProcess should have comment or be unexported (golint)
    • Line 115: warning: exported function GetExitCodeProcess should have comment or be unexported (golint)
    • Line 133: warning: exported function WaitForSingleObject should have comment or be unexported (golint)
    • w32/user32.go
    • Line 126: warning: exported function RegisterClassEx should have comment or be unexported (golint)
    • Line 131: warning: exported function LoadIcon should have comment or be unexported (golint)
    • Line 140: warning: exported function LoadCursor should have comment or be unexported (golint)
    • Line 149: warning: exported function GetClassNameW should have comment or be unexported (golint)
    • Line 159: warning: exported function SetForegroundWindow should have comment or be unexported (golint)
    • Line 166: warning: exported function ShowWindow should have comment or be unexported (golint)
    • Line 175: warning: exported function UpdateWindow should have comment or be unexported (golint)
    • Line 181: warning: exported function CreateWindowEx should have comment or be unexported (golint)
    • Line 201: warning: exported function FindWindowExW should have comment or be unexported (golint)
    • Line 211: warning: exported function FindWindowW should have comment or be unexported (golint)
    • Line 219: warning: exported function EnumChildWindows should have comment or be unexported (golint)
    • Line 229: warning: exported function AdjustWindowRectEx should have comment or be unexported (golint)
    • Line 239: warning: exported function AdjustWindowRect should have comment or be unexported (golint)
    • Line 248: warning: exported function DestroyWindow should have comment or be unexported (golint)
    • Line 255: warning: exported function DefWindowProc should have comment or be unexported (golint)
    • Line 265: warning: exported function DefDlgProc should have comment or be unexported (golint)
    • Line 275: warning: exported function PostQuitMessage should have comment or be unexported (golint)
    • Line 280: warning: exported function GetMessage should have comment or be unexported (golint)
    • Line 290: warning: exported function TranslateMessage should have comment or be unexported (golint)
    • Line 298: warning: exported function DispatchMessage should have comment or be unexported (golint)
    • Line 306: warning: exported function SendMessage should have comment or be unexported (golint)
    • Line 316: warning: exported function SendMessageTimeout should have comment or be unexported (golint)
    • Line 328: warning: exported function PostMessage should have comment or be unexported (golint)
    • Line 338: warning: exported function WaitMessage should have comment or be unexported (golint)
    • Line 343: warning: exported function SetWindowText should have comment or be unexported (golint)
    • Line 349: warning: exported function GetWindowTextLength should have comment or be unexported (golint)
    • Line 356: warning: exported function GetWindowText should have comment or be unexported (golint)
    • Line 368: warning: exported function GetWindowRect should have comment or be unexported (golint)
    • Line 377: warning: exported function MoveWindow should have comment or be unexported (golint)
    • Line 390: warning: exported function ScreenToClient should have comment or be unexported (golint)
    • Line 399: warning: exported function CallWindowProc should have comment or be unexported (golint)
    • Line 410: warning: exported function SetWindowLong should have comment or be unexported (golint)
    • Line 419: warning: exported function SetWindowLongPtr should have comment or be unexported (golint)
    • Line 428: warning: exported function GetWindowLong should have comment or be unexported (golint)
    • Line 436: warning: exported function GetWindowLongPtr should have comment or be unexported (golint)
    • Line 444: warning: exported function EnableWindow should have comment or be unexported (golint)
    • Line 451: warning: exported function IsWindowEnabled should have comment or be unexported (golint)
    • Line 458: warning: exported function IsWindowVisible should have comment or be unexported (golint)
    • Line 465: warning: exported function SetFocus should have comment or be unexported (golint)
    • Line 472: warning: exported function InvalidateRect should have comment or be unexported (golint)
    • Line 481: warning: exported function GetClientRect should have comment or be unexported (golint)
    • Line 494: warning: exported function GetDC should have comment or be unexported (golint)
    • Line 501: warning: exported function ReleaseDC should have comment or be unexported (golint)
    • Line 509: warning: exported function SetCapture should have comment or be unexported (golint)
    • Line 516: warning: exported function ReleaseCapture should have comment or be unexported (golint)
    • Line 522: warning: exported function GetWindowThreadProcessId should have comment or be unexported (golint)
    • Line 531: warning: exported function MessageBox should have comment or be unexported (golint)
    • Line 541: warning: exported function GetSystemMetrics should have comment or be unexported (golint)
    • Line 548: warning: exported function CopyRect should have comment or be unexported (golint)
    • Line 556: warning: exported function EqualRect should have comment or be unexported (golint)
    • Line 564: warning: exported function InflateRect should have comment or be unexported (golint)
    • Line 573: warning: exported function IntersectRect should have comment or be unexported (golint)
    • Line 582: warning: exported function IsRectEmpty should have comment or be unexported (golint)
    • Line 589: warning: exported function OffsetRect should have comment or be unexported (golint)
    • Line 598: warning: exported function PtInRect should have comment or be unexported (golint)
    • Line 607: warning: exported function SetRect should have comment or be unexported (golint)
    • Line 618: warning: exported function SetRectEmpty should have comment or be unexported (golint)
    • Line 625: warning: exported function SubtractRect should have comment or be unexported (golint)
    • Line 634: warning: exported function UnionRect should have comment or be unexported (golint)
    • Line 643: warning: exported function CreateDialog should have comment or be unexported (golint)
    • Line 654: warning: exported function DialogBox should have comment or be unexported (golint)
    • Line 665: warning: exported function GetDlgItem should have comment or be unexported (golint)
    • Line 673: warning: exported function DrawIcon should have comment or be unexported (golint)
    • Line 683: warning: exported function ClientToScreen should have comment or be unexported (golint)
    • Line 693: warning: exported function IsDialogMessage should have comment or be unexported (golint)
    • Line 701: warning: exported function IsWindow should have comment or be unexported (golint)
    • Line 708: warning: exported function EndDialog should have comment or be unexported (golint)
    • Line 716: warning: exported function PeekMessage should have comment or be unexported (golint)
    • Line 727: warning: exported function TranslateAccelerator should have comment or be unexported (golint)
    • Line 736: warning: exported function SetWindowPos should have comment or be unexported (golint)
    • Line 749: warning: exported function FillRect should have comment or be unexported (golint)
    • Line 758: warning: exported function DrawText should have comment or be unexported (golint)
    • Line 769: warning: exported function AddClipboardFormatListener should have comment or be unexported (golint)
    • Line 775: warning: exported function RemoveClipboardFormatListener should have comment or be unexported (golint)
    • Line 781: warning: exported function OpenClipboard should have comment or be unexported (golint)
    • Line 787: warning: exported function CloseClipboard should have comment or be unexported (golint)
    • Line 792: warning: exported function EnumClipboardFormats should have comment or be unexported (golint)
    • Line 798: warning: exported function GetClipboardData should have comment or be unexported (golint)
    • Line 804: warning: exported function SetClipboardData should have comment or be unexported (golint)
    • Line 811: warning: exported function EmptyClipboard should have comment or be unexported (golint)
    • Line 816: warning: exported function GetClipboardFormatName should have comment or be unexported (golint)
    • Line 831: warning: exported function IsClipboardFormatAvailable should have comment or be unexported (golint)
    • Line 836: warning: exported function BeginPaint should have comment or be unexported (golint)
    • Line 843: warning: exported function EndPaint should have comment or be unexported (golint)
    • Line 849: warning: exported function GetKeyboardState should have comment or be unexported (golint)
    • Line 855: warning: exported function MapVirtualKeyEx should have comment or be unexported (golint)
    • Line 863: warning: exported function GetAsyncKeyState should have comment or be unexported (golint)
    • Line 868: warning: exported function ToAscii should have comment or be unexported (golint)
    • Line 878: warning: exported function SwapMouseButton should have comment or be unexported (golint)
    • Line 884: warning: exported function GetCursorPos should have comment or be unexported (golint)
    • Line 890: warning: exported function SetCursorPos should have comment or be unexported (golint)
    • Line 898: warning: exported function SetCursor should have comment or be unexported (golint)
    • Line 905: warning: exported function CreateIcon should have comment or be unexported (golint)
    • Line 918: warning: exported function DestroyIcon should have comment or be unexported (golint)
    • Line 925: warning: exported function MonitorFromPoint should have comment or be unexported (golint)
    • Line 934: warning: exported function MonitorFromRect should have comment or be unexported (golint)
    • Line 942: warning: exported function MonitorFromWindow should have comment or be unexported (golint)
    • Line 950: warning: exported function GetMonitorInfo should have comment or be unexported (golint)
    • Line 958: warning: exported function EnumDisplayMonitors should have comment or be unexported (golint)
    • Line 968: warning: exported function EnumDisplaySettingsEx should have comment or be unexported (golint)
    • Line 978: warning: exported function ChangeDisplaySettingsEx should have comment or be unexported (golint)
    • Line 989: warning: exported function SetWindowsHookEx should have comment or be unexported (golint)
    • Line 999: warning: exported function UnhookWindowsHookEx should have comment or be unexported (golint)
    • Line 1006: warning: exported function CallNextHookEx should have comment or be unexported (golint)
    • Line 1016: warning: exported function SetTimer should have comment or be unexported (golint)
    • Line 1026: warning: exported function KillTimer should have comment or be unexported (golint)
    • Line 1034: warning: comment on exported function RedrawWindow should be of the form "RedrawWindow ..." (golint)
    • w32/vars.go
    • Line 8: warning: exported var IID_NULL should have comment or be unexported (golint)
    • Line 9: warning: don't use underscores in Go names; var IID_IUnknown should be IIDIUnknown (golint)
    • Line 10: warning: don't use underscores in Go names; var IID_IDispatch should be IIDIDispatch (golint)
    • Line 11: warning: don't use underscores in Go names; var IID_IConnectionPointContainer should be IIDIConnectionPointContainer (golint)
    • Line 12: warning: don't use underscores in Go names; var IID_IConnectionPoint should be IIDIConnectionPoint (golint)
    • w32/comctl32.go
    • Line 16: warning: don't use underscores in Go names; var procImageList_Create should be procImageListCreate (golint)
    • Line 17: warning: don't use underscores in Go names; var procImageList_Destroy should be procImageListDestroy (golint)
    • Line 18: warning: don't use underscores in Go names; var procImageList_GetImageCount should be procImageListGetImageCount (golint)
    • Line 19: warning: don't use underscores in Go names; var procImageList_SetImageCount should be procImageListSetImageCount (golint)
    • Line 20: warning: don't use underscores in Go names; var procImageList_Add should be procImageListAdd (golint)
    • Line 21: warning: don't use underscores in Go names; var procImageList_ReplaceIcon should be procImageListReplaceIcon (golint)
    • Line 22: warning: don't use underscores in Go names; var procImageList_Remove should be procImageListRemove (golint)
    • Line 26: warning: exported function InitCommonControlsEx should have comment or be unexported (golint)
    • Line 33: warning: exported function ImageList_Create should have comment or be unexported (golint)
    • Line 33: warning: don't use underscores in Go names; func ImageList_Create should be ImageListCreate (golint)
    • Line 48: warning: exported function ImageList_Destroy should have comment or be unexported (golint)
    • Line 48: warning: don't use underscores in Go names; func ImageList_Destroy should be ImageListDestroy (golint)
    • Line 55: warning: exported function ImageList_GetImageCount should have comment or be unexported (golint)
    • Line 55: warning: don't use underscores in Go names; func ImageList_GetImageCount should be ImageListGetImageCount (golint)
    • Line 62: warning: exported function ImageList_SetImageCount should have comment or be unexported (golint)
    • Line 62: warning: don't use underscores in Go names; func ImageList_SetImageCount should be ImageListSetImageCount (golint)
    • Line 70: warning: exported function ImageList_Add should have comment or be unexported (golint)
    • Line 70: warning: don't use underscores in Go names; func ImageList_Add should be ImageListAdd (golint)
    • Line 79: warning: exported function ImageList_ReplaceIcon should have comment or be unexported (golint)
    • Line 79: warning: don't use underscores in Go names; func ImageList_ReplaceIcon should be ImageListReplaceIcon (golint)
    • Line 88: warning: exported function ImageList_AddIcon should have comment or be unexported (golint)
    • Line 88: warning: don't use underscores in Go names; func ImageList_AddIcon should be ImageListAddIcon (golint)
    • Line 92: warning: exported function ImageList_Remove should have comment or be unexported (golint)
    • Line 92: warning: don't use underscores in Go names; func ImageList_Remove should be ImageListRemove (golint)
    • Line 100: warning: exported function ImageList_RemoveAll should have comment or be unexported (golint)
    • Line 100: warning: don't use underscores in Go names; func ImageList_RemoveAll should be ImageListRemoveAll (golint)
    • Line 104: warning: exported function TrackMouseEvent should have comment or be unexported (golint)
    • w32/create_process_typedef.go
    • Line 10: warning: exported type PROCESS_INFORMATION should have comment or be unexported (golint)
    • Line 38: warning: exported type STARTUPINFOW should have comment or be unexported (golint)
    • Line 64: warning: exported type SECURITY_ATTRIBUTES should have comment or be unexported (golint)
    • w32/istream.go
    • Line 17: warning: exported type IStream should have comment or be unexported (golint)
    • Line 21: warning: exported method IStream.QueryInterface should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method IStream.AddRef should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method IStream.Release should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • w32/iunknown.go
    • Line 13: warning: exported type IUnknown should have comment or be unexported (golint)
    • Line 17: warning: exported method IUnknown.QueryInterface should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method IUnknown.AddRef should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method IUnknown.Release should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • w32/alpc_constants.go
    • Line 4: warning: exported const ALPC_PORFLG_ALLOW_LPC_REQUESTS should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const ALPC_MSGFLG_REPLY_MESSAGE should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported const ALPC_MESSAGE_SECURITY_ATTRIBUTE should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported const OBJ_INHERIT should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported const LPC_REQUEST should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported const SecurityAnonymous should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported const SECURITY_DYNAMIC_TRACKING should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: exported const ALPC_SYNC_OBJECT_TYPE should have comment (or a comment on this block) or be unexported (golint)
    • w32/gdiplus.go
    • Line 15: warning: exported const Ok should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported function GetGpStatus should have comment or be unexported (golint)
    • Line 104: warning: exported function GdipCreateBitmapFromFile should have comment or be unexported (golint)
    • Line 111: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 117: warning: exported function GdipCreateBitmapFromResource should have comment or be unexported (golint)
    • Line 125: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 131: warning: exported function GdipCreateBitmapFromStream should have comment or be unexported (golint)
    • Line 138: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 144: warning: exported function GdipCreateHBITMAPFromBitmap should have comment or be unexported (golint)
    • Line 152: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 158: warning: exported function GdipDisposeImage should have comment or be unexported (golint)
    • Line 162: warning: exported function GdiplusShutdown should have comment or be unexported (golint)
    • Line 166: warning: exported function GdiplusStartup should have comment or be unexported (golint)
    • w32/typedef.go
    • Line 11: warning: comment on exported type ATOM should be of the form "ATOM ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type BOOL should be of the form "BOOL ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type COLORREF should be of the form "COLORREF ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type DWM_FRAME_COUNT should be of the form "DWM_FRAME_COUNT ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type DWORD should be of the form "DWORD ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HACCEL should be of the form "HACCEL ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HANDLE should be of the form "HANDLE ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HBITMAP should be of the form "HBITMAP ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HBRUSH should be of the form "HBRUSH ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HCURSOR should be of the form "HCURSOR ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HDC should be of the form "HDC ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HDROP should be of the form "HDROP ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HDWP should be of the form "HDWP ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HENHMETAFILE should be of the form "HENHMETAFILE ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HFONT should be of the form "HFONT ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HGDIOBJ should be of the form "HGDIOBJ ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HGLOBAL should be of the form "HGLOBAL ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HGLRC should be of the form "HGLRC ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HHOOK should be of the form "HHOOK ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HICON should be of the form "HICON ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HIMAGELIST should be of the form "HIMAGELIST ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HINSTANCE should be of the form "HINSTANCE ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HKEY should be of the form "HKEY ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HKL should be of the form "HKL ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HMENU should be of the form "HMENU ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HMODULE should be of the form "HMODULE ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HMONITOR should be of the form "HMONITOR ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HPEN should be of the form "HPEN ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HRESULT should be of the form "HRESULT ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HRGN should be of the form "HRGN ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HRSRC should be of the form "HRSRC ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HTHUMBNAIL should be of the form "HTHUMBNAIL ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type HWND should be of the form "HWND ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type LPARAM should be of the form "LPARAM ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type LPCVOID should be of the form "LPCVOID ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type LRESULT should be of the form "LRESULT ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type PVOID should be of the form "PVOID ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type QPC_TIME should be of the form "QPC_TIME ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type TRACEHANDLE should be of the form "TRACEHANDLE ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type ULONG_PTR should be of the form "ULONG_PTR ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type WPARAM should be of the form "WPARAM ..." (with optional leading article) (golint)
    • Line 222: warning: comment on exported type POINT should be of the form "POINT ..." (with optional leading article) (golint)
    • Line 227: warning: comment on exported type RECT should be of the form "RECT ..." (with optional leading article) (golint)
    • Line 232: warning: comment on exported type WNDCLASSEX should be of the form "WNDCLASSEX ..." (with optional leading article) (golint)
    • Line 248: warning: comment on exported type MSG should be of the form "MSG ..." (with optional leading article) (golint)
    • Line 258: warning: comment on exported type LOGFONT should be of the form "LOGFONT ..." (with optional leading article) (golint)
    • Line 276: warning: comment on exported type OPENFILENAME should be of the form "OPENFILENAME ..." (with optional leading article) (golint)
    • Line 303: warning: comment on exported type BROWSEINFO should be of the form "BROWSEINFO ..." (with optional leading article) (golint)
    • Line 315: warning: comment on exported type GUID should be of the form "GUID ..." (with optional leading article) (golint)
    • Line 323: warning: comment on exported type VARIANT should be of the form "VARIANT ..." (with optional leading article) (golint)
    • Line 332: warning: comment on exported type DISPPARAMS should be of the form "DISPPARAMS ..." (with optional leading article) (golint)
    • Line 340: warning: comment on exported type EXCEPINFO should be of the form "EXCEPINFO ..." (with optional leading article) (golint)
    • Line 353: warning: comment on exported type LOGBRUSH should be of the form "LOGBRUSH ..." (with optional leading article) (golint)
    • Line 360: warning: comment on exported type DEVMODE should be of the form "DEVMODE ..." (with optional leading article) (golint)
    • Line 398: warning: comment on exported type BITMAPINFOHEADER should be of the form "BITMAPINFOHEADER ..." (with optional leading article) (golint)
    • Line 413: warning: comment on exported type RGBQUAD should be of the form "RGBQUAD ..." (with optional leading article) (golint)
    • Line 421: warning: comment on exported type BITMAPINFO should be of the form "BITMAPINFO ..." (with optional leading article) (golint)
    • Line 427: warning: comment on exported type BITMAP should be of the form "BITMAP ..." (with optional leading article) (golint)
    • Line 438: warning: comment on exported type DIBSECTION should be of the form "DIBSECTION ..." (with optional leading article) (golint)
    • Line 447: warning: comment on exported type ENHMETAHEADER should be of the form "ENHMETAHEADER ..." (with optional leading article) (golint)
    • Line 470: warning: comment on exported type SIZE should be of the form "SIZE ..." (with optional leading article) (golint)
    • Line 475: warning: comment on exported type TEXTMETRIC should be of the form "TEXTMETRIC ..." (with optional leading article) (golint)
    • Line 499: warning: comment on exported type DOCINFO should be of the form "DOCINFO ..." (with optional leading article) (golint)
    • Line 508: warning: comment on exported type NMHDR should be of the form "NMHDR ..." (with optional leading article) (golint)
    • Line 515: warning: comment on exported type LVCOLUMN should be of the form "LVCOLUMN ..." (with optional leading article) (golint)
    • Line 527: warning: comment on exported type LVITEM should be of the form "LVITEM ..." (with optional leading article) (golint)
    • Line 544: warning: comment on exported type LVHITTESTINFO should be of the form "LVHITTESTINFO ..." (with optional leading article) (golint)
    • Line 553: warning: comment on exported type NMITEMACTIVATE should be of the form "NMITEMACTIVATE ..." (with optional leading article) (golint)
    • Line 566: warning: comment on exported type NMLISTVIEW should be of the form "NMLISTVIEW ..." (with optional leading article) (golint)
    • Line 578: warning: comment on exported type NMLVDISPINFO should be of the form "NMLVDISPINFO ..." (with optional leading article) (golint)
    • Line 584: warning: comment on exported type INITCOMMONCONTROLSEX should be of the form "INITCOMMONCONTROLSEX ..." (with optional leading article) (golint)
    • Line 590: warning: comment on exported type TOOLINFO should be of the form "TOOLINFO ..." (with optional leading article) (golint)
    • Line 603: warning: comment on exported type TRACKMOUSEEVENT should be of the form "TRACKMOUSEEVENT ..." (with optional leading article) (golint)
    • Line 611: warning: comment on exported type GdiplusStartupInput should be of the form "GdiplusStartupInput ..." (with optional leading article) (golint)
    • Line 619: warning: comment on exported type GdiplusStartupOutput should be of the form "GdiplusStartupOutput ..." (with optional leading article) (golint)
    • Line 625: warning: comment on exported type PAINTSTRUCT should be of the form "PAINTSTRUCT ..." (with optional leading article) (golint)
    • Line 635: warning: comment on exported type MODULEENTRY32 should be of the form "MODULEENTRY32 ..." (with optional leading article) (golint)
    • Line 649: warning: comment on exported type FILETIME should be of the form "FILETIME ..." (with optional leading article) (golint)
    • Line 655: warning: comment on exported type COORD should be of the form "COORD ..." (with optional leading article) (golint)
    • Line 660: warning: comment on exported type SMALL_RECT should be of the form "SMALL_RECT ..." (with optional leading article) (golint)
    • Line 665: warning: comment on exported type CONSOLE_SCREEN_BUFFER_INFO should be of the form "CONSOLE_SCREEN_BUFFER_INFO ..." (with optional leading article) (golint)
    • Line 674: warning: comment on exported type MARGINS should be of the form "MARGINS ..." (with optional leading article) (golint)
    • Line 679: warning: comment on exported type DWM_BLURBEHIND should be of the form "DWM_BLURBEHIND ..." (with optional leading article) (golint)
    • Line 687: warning: comment on exported type DWM_PRESENT_PARAMETERS should be of the form "DWM_PRESENT_PARAMETERS ..." (with optional leading article) (golint)
    • Line 699: warning: comment on exported type DWM_THUMBNAIL_PROPERTIES should be of the form "DWM_THUMBNAIL_PROPERTIES ..." (with optional leading article) (golint)
    • Line 709: warning: comment on exported type DWM_TIMING_INFO should be of the form "DWM_TIMING_INFO ..." (with optional leading article) (golint)
    • Line 753: warning: comment on exported type MilMatrix3x2D should be of the form "MilMatrix3x2D ..." (with optional leading article) (golint)
    • Line 755: warning: don't use underscores in Go names; struct field S_11 should be S11 (golint)
    • Line 755: warning: don't use underscores in Go names; struct field S_12 should be S12 (golint)
    • Line 755: warning: don't use underscores in Go names; struct field S_21 should be S21 (golint)
    • Line 755: warning: don't use underscores in Go names; struct field S_22 should be S22 (golint)
    • Line 759: warning: comment on exported type UNSIGNED_RATIO should be of the form "UNSIGNED_RATIO ..." (with optional leading article) (golint)
    • Line 765: warning: comment on exported type CREATESTRUCT should be of the form "CREATESTRUCT ..." (with optional leading article) (golint)
    • Line 779: warning: comment on exported type MONITORINFO should be of the form "MONITORINFO ..." (with optional leading article) (golint)
    • Line 787: warning: comment on exported type MONITORINFOEX should be of the form "MONITORINFOEX ..." (with optional leading article) (golint)
    • Line 793: warning: comment on exported type PIXELFORMATDESCRIPTOR should be of the form "PIXELFORMATDESCRIPTOR ..." (with optional leading article) (golint)
    • Line 818: warning: comment on exported type INPUT should be of the form "INPUT ..." (with optional leading article) (golint)
    • Line 826: warning: comment on exported type MOUSEINPUT should be of the form "MOUSEINPUT ..." (with optional leading article) (golint)
    • Line 836: warning: comment on exported type KEYBDINPUT should be of the form "KEYBDINPUT ..." (with optional leading article) (golint)
    • Line 845: warning: comment on exported type HARDWAREINPUT should be of the form "HARDWAREINPUT ..." (with optional leading article) (golint)
    • Line 852: warning: exported type KbdInput should have comment or be unexported (golint)
    • Line 857: warning: exported type MouseInput should have comment or be unexported (golint)
    • Line 862: warning: exported type HardwareInput should have comment or be unexported (golint)
    • Line 867: warning: comment on exported type SYSTEMTIME should be of the form "SYSTEMTIME ..." (with optional leading article) (golint)
    • Line 879: warning: comment on exported type KBDLLHOOKSTRUCT should be of the form "KBDLLHOOKSTRUCT ..." (with optional leading article) (golint)
    • Line 888: warning: exported type HOOKPROC should have comment or be unexported (golint)
    • Line 890: warning: comment on exported type WNDENUMPROC should be of the form "WNDENUMPROC ..." (with optional leading article) (golint)
    • w32/utils.go
    • Line 13: warning: exported function MakeIntResource should have comment or be unexported (golint)
    • Line 17: warning: exported function LOWORD should have comment or be unexported (golint)
    • Line 21: warning: exported function HIWORD should have comment or be unexported (golint)
    • Line 25: warning: exported function BoolToBOOL should have comment or be unexported (golint)
    • Line 33: warning: exported function UTF16PtrToString should have comment or be unexported (golint)
    • Line 48: warning: exported function ComAddRef should have comment or be unexported (golint)
    • Line 56: warning: exported function ComRelease should have comment or be unexported (golint)
    • Line 64: warning: exported function ComQueryInterface should have comment or be unexported (golint)
    • Line 76: warning: exported function ComGetIDsOfName should have comment or be unexported (golint)
    • Line 95: warning: exported function ComInvoke should have comment or be unexported (golint)
    • w32/advapi32_constants.go
    • Line 27: warning: exported const NFR_ANSI should have comment (or a comment on this block) or be unexported (golint)
    • Line 127: warning: exported const KERNEL_LOGGER_NAME should have comment (or a comment on this block) or be unexported (golint)
    • w32/advapi32_typedef.go
    • Line 3: warning: comment on exported type ACL should be of the form "ACL ..." (with optional leading article) (golint)
    • Line 14: warning: exported type SECURITY_DESCRIPTOR_CONTROL should have comment or be unexported (golint)
    • Line 16: warning: exported type SECURITY_DESCRIPTOR should have comment or be unexported (golint)
    • Line 26: warning: exported type SID_IDENTIFIER_AUTHORITY should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type SID should be of the form "SID ..." (with optional leading article) (golint)
    • Line 44: warning: comment on exported type EVENTLOGRECORD should be of the form "EVENTLOGRECORD ..." (with optional leading article) (golint)
    • Line 64: warning: comment on exported type SERVICE_STATUS should be of the form "SERVICE_STATUS ..." (with optional leading article) (golint)
    • Line 75: warning: comment on exported type WNODE_HEADER should be of the form "WNODE_HEADER ..." (with optional leading article) (golint)
    • Line 86: warning: comment on exported method WNODE_HEADER.TimeStamp should be of the form "TimeStamp ..." (golint)
    • Line 94: warning: exported method WNODE_HEADER.Version should have comment or be unexported (golint)
    • Line 98: warning: exported method WNODE_HEADER.Linkage should have comment or be unexported (golint)
    • Line 102: warning: comment on exported type EVENT_TRACE_PROPERTIES should be of the form "EVENT_TRACE_PROPERTIES ..." (with optional leading article) (golint)
    • w32/dwmapi.go
    • Line 50: warning: exported function DwmDefWindowProc should have comment or be unexported (golint)
    • Line 61: warning: exported function DwmEnableBlurBehindWindow should have comment or be unexported (golint)
    • Line 68: warning: exported function DwmEnableMMCSS should have comment or be unexported (golint)
    • Line 74: warning: exported function DwmExtendFrameIntoClientArea should have comment or be unexported (golint)
    • Line 81: warning: exported function DwmFlush should have comment or be unexported (golint)
    • Line 86: warning: exported function DwmGetColorizationColor should have comment or be unexported (golint)
    • Line 93: warning: exported function DwmGetCompositionTimingInfo should have comment or be unexported (golint)
    • Line 100: warning: exported function DwmGetTransportAttributes should have comment or be unexported (golint)
    • Line 108: warning: comment on exported function DwmGetWindowAttribute should be of the form "DwmGetWindowAttribute ..." (golint)
    • Line 137: warning: exported function DwmInvalidateIconicBitmaps should have comment or be unexported (golint)
    • Line 143: warning: exported function DwmIsCompositionEnabled should have comment or be unexported (golint)
    • Line 149: warning: exported function DwmModifyPreviousDxFrameDuration should have comment or be unexported (golint)
    • Line 157: warning: exported function DwmQueryThumbnailSourceSize should have comment or be unexported (golint)
    • Line 164: warning: exported function DwmRegisterThumbnail should have comment or be unexported (golint)
    • Line 172: warning: exported function DwmRenderGesture should have comment or be unexported (golint)
    • Line 181: warning: exported function DwmSetDxFrameDuration should have comment or be unexported (golint)
    • Line 188: warning: exported function DwmSetIconicLivePreviewBitmap should have comment or be unexported (golint)
    • Line 197: warning: exported function DwmSetIconicThumbnail should have comment or be unexported (golint)
    • Line 205: warning: exported function DwmSetPresentParameters should have comment or be unexported (golint)
    • Line 212: warning: exported function DwmSetWindowAttribute should have comment or be unexported (golint)
    • Line 221: warning: exported function DwmShowContact should have comment or be unexported (golint)
    • Line 228: warning: exported function DwmTetherContact should have comment or be unexported (golint)
    • Line 236: warning: exported function DwmTransitionOwnedWindow should have comment or be unexported (golint)
    • Line 243: warning: exported function DwmUnregisterThumbnail should have comment or be unexported (golint)
    • Line 249: warning: exported function DwmUpdateThumbnailProperties should have comment or be unexported (golint)
    • w32/fork_typedef.go
    • Line 3: warning: comment on exported type SECTION_IMAGE_INFORMATION should be of the form "SECTION_IMAGE_INFORMATION ..." (with optional leading article) (golint)
    • Line 53: warning: exported method SECTION_IMAGE_INFORMATION.ComPlusNativeReady should have comment or be unexported (golint)
    • Line 57: warning: exported method SECTION_IMAGE_INFORMATION.ComPlusILOnly should have comment or be unexported (golint)
    • Line 61: warning: exported method SECTION_IMAGE_INFORMATION.ImageDynamicallyRelocated should have comment or be unexported (golint)
    • Line 65: warning: exported method SECTION_IMAGE_INFORMATION.ImageMappedFlat should have comment or be unexported (golint)
    • Line 69: warning: exported method SECTION_IMAGE_INFORMATION.BaseBelow4gb should have comment or be unexported (golint)
    • Line 73: warning: exported method SECTION_IMAGE_INFORMATION.ComPlusPrefer32bit should have comment or be unexported (golint)
    • Line 77: warning: comment on exported type RTL_USER_PROCESS_INFORMATION should be of the form "RTL_USER_PROCESS_INFORMATION ..." (with optional leading article) (golint)
    • w32/kernel32.go
    • Line 54: warning: exported function GetModuleHandle should have comment or be unexported (golint)
    • Line 65: warning: exported function MulDiv should have comment or be unexported (golint)
    • Line 74: warning: exported function GetConsoleWindow should have comment or be unexported (golint)
    • Line 80: warning: exported function GetCurrentThread should have comment or be unexported (golint)
    • Line 86: warning: exported function GetLogicalDrives should have comment or be unexported (golint)
    • Line 92: warning: exported function GetUserDefaultLCID should have comment or be unexported (golint)
    • Line 98: warning: exported function Lstrlen should have comment or be unexported (golint)
    • Line 104: warning: exported function Lstrcpy should have comment or be unexported (golint)
    • Line 110: warning: exported function GlobalAlloc should have comment or be unexported (golint)
    • Line 122: warning: exported function GlobalFree should have comment or be unexported (golint)
    • Line 130: warning: exported function GlobalLock should have comment or be unexported (golint)
    • Line 140: warning: exported function GlobalUnlock should have comment or be unexported (golint)
    • Line 146: warning: exported function MoveMemory should have comment or be unexported (golint)
    • Line 153: warning: exported function FindResource should have comment or be unexported (golint)
    • Line 166: warning: exported function SizeofResource should have comment or be unexported (golint)
    • Line 178: warning: exported function LockResource should have comment or be unexported (golint)
    • Line 188: warning: exported function LoadResource should have comment or be unexported (golint)
    • Line 200: warning: exported function GetLastError should have comment or be unexported (golint)
    • Line 225: warning: exported function CloseHandle should have comment or be unexported (golint)
    • Line 231: warning: exported function CreateToolhelp32Snapshot should have comment or be unexported (golint)
    • Line 243: warning: exported function Module32First should have comment or be unexported (golint)
    • Line 251: warning: exported function Module32Next should have comment or be unexported (golint)
    • Line 259: warning: exported function GetSystemTimes should have comment or be unexported (golint)
    • Line 268: warning: exported function GetProcessTimes should have comment or be unexported (golint)
    • Line 279: warning: exported function GetConsoleScreenBufferInfo should have comment or be unexported (golint)
    • Line 290: warning: exported function SetConsoleTextAttribute should have comment or be unexported (golint)
    • Line 297: warning: exported function GetDiskFreeSpaceEx should have comment or be unexported (golint)
    • Line 308: warning: exported function GetSystemTime should have comment or be unexported (golint)
    • Line 315: warning: exported function SetSystemTime should have comment or be unexported (golint)
    • Line 321: warning: exported function VirtualAllocEx should have comment or be unexported (golint)
    • Line 333: warning: exported function VirtualFreeEx should have comment or be unexported (golint)
    • Line 344: warning: exported function WriteProcessMemory should have comment or be unexported (golint)
    • Line 357: warning: exported function ReadProcessMemory should have comment or be unexported (golint)
    • Line 372: warning: exported function QueryPerformanceCounter should have comment or be unexported (golint)
    • Line 381: warning: exported function QueryPerformanceFrequency should have comment or be unexported (golint)

gocyclo91%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • w32/gdiplus.go
    • Line 39: warning: cyclomatic complexity 23 of function GetGpStatus() is high (> 15) (gocyclo)
    • w32/shell32.go
    • Line 89: warning: cyclomatic complexity 19 of function ShellExecute() is high (> 15) (gocyclo)
    • w32/utils.go
    • Line 95: warning: cyclomatic complexity 37 of function ComInvoke() is high (> 15) (gocyclo)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!