Preparing report...

Report for github.com/progrium/macdriver

A    Great!    Found 61 issues across 81 files

Tweet

gofmt95%

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!


gocyclo92%

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.


golint34%

Golint is a linter for Go source code.

    • macdriver/core/NSAttributedString.go
    • Line 7: warning: comment on exported type NSAttributedString should be of the form "NSAttributedString ..." (with optional leading article) (golint)
    • Line 17: warning: don't use underscores in Go names; func NSAttributedString_FromString should be NSAttributedStringFromString (golint)
    • Line 23: warning: exported function NSAttributedString_FromObject should have comment or be unexported (golint)
    • Line 23: warning: don't use underscores in Go names; func NSAttributedString_FromObject should be NSAttributedStringFromObject (golint)
    • macdriver/core/NSThread.go
    • Line 5: warning: exported type NSThread should have comment or be unexported (golint)
    • Line 11: warning: exported function NSThread_IsMainThread should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; func NSThread_IsMainThread should be NSThreadIsMainThread (golint)
    • macdriver/cocoa/NSScreen.go
    • Line 8: warning: exported type NSScreen should have comment or be unexported (golint)
    • Line 12: warning: exported function NSScreen_Main should have comment or be unexported (golint)
    • Line 12: warning: don't use underscores in Go names; func NSScreen_Main should be NSScreenMain (golint)
    • Line 16: warning: exported function NSScreen_Screens should have comment or be unexported (golint)
    • Line 16: warning: don't use underscores in Go names; func NSScreen_Screens should be NSScreenScreens (golint)
    • Line 25: warning: exported method NSScreen.Frame should have comment or be unexported (golint)
    • macdriver/cocoa/NSStatusItem.go
    • Line 7: warning: exported type NSStatusItem should have comment or be unexported (golint)
    • Line 11: warning: exported method NSStatusItem.Button should have comment or be unexported (golint)
    • Line 15: warning: exported method NSStatusItem.SetMenu should have comment or be unexported (golint)
    • Line 19: warning: exported method NSStatusItem.Menu should have comment or be unexported (golint)
    • Line 23: warning: exported method NSStatusItem.Target should have comment or be unexported (golint)
    • Line 27: warning: exported method NSStatusItem.SetTarget should have comment or be unexported (golint)
    • Line 31: warning: exported method NSStatusItem.Action should have comment or be unexported (golint)
    • Line 35: warning: exported method NSStatusItem.SetAction should have comment or be unexported (golint)
    • macdriver/core/NSAutoreleasePool.go
    • Line 5: warning: exported type NSAutoreleasePool should have comment or be unexported (golint)
    • Line 11: warning: exported function NSAutoreleasePool_New should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; func NSAutoreleasePool_New should be NSAutoreleasePoolNew (golint)
    • macdriver/cocoa/NSPasteboard.go
    • Line 8: warning: comment on exported type NSPasteboardType should be of the form "NSPasteboardType ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type NSPasteboard should be of the form "NSPasteboard ..." (with optional leading article) (golint)
    • Line 58: warning: don't use underscores in Go names; func NSPasteboard_GeneralPasteboard should be NSPasteboardGeneralPasteboard (golint)
    • macdriver/webkit/WKPreferences.go
    • Line 5: warning: exported type WKPreferences should have comment or be unexported (golint)
    • Line 9: warning: exported method WKPreferences.SetValueForKey should have comment or be unexported (golint)
    • macdriver/core/NSNumber.go
    • Line 5: warning: exported type NSNumber should have comment or be unexported (golint)
    • Line 9: warning: exported function NSNumber_WithBool should have comment or be unexported (golint)
    • Line 9: warning: don't use underscores in Go names; func NSNumber_WithBool should be NSNumberWithBool (golint)
    • macdriver/objc/selector.go
    • Line 56: warning: comment on exported function Sel should be of the form "Sel ..." (golint)
    • Line 61: warning: comment on exported function GetSelector should be of the form "GetSelector ..." (golint)
    • Line 66: warning: exported function RegisterSelector should have comment or be unexported (golint)
    • macdriver/cocoa/NSNib.go
    • Line 8: warning: exported type NSNib should have comment or be unexported (golint)
    • Line 12: warning: exported function NSNib_Init should have comment or be unexported (golint)
    • Line 12: warning: don't use underscores in Go names; func NSNib_Init should be NSNibInit (golint)
    • Line 17: warning: exported method NSNib.InstantiateWithOwner should have comment or be unexported (golint)
    • macdriver/core/NSDictionary.go
    • Line 7: warning: exported type NSDictionary should have comment or be unexported (golint)
    • Line 13: warning: exported function NSDictionary_New should have comment or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; func NSDictionary_New should be NSDictionaryNew (golint)
    • Line 17: warning: exported function NSDictionary_Init should have comment or be unexported (golint)
    • Line 17: warning: don't use underscores in Go names; func NSDictionary_Init should be NSDictionaryInit (golint)
    • Line 21: warning: exported method NSDictionary.ObjectForKey should have comment or be unexported (golint)
    • macdriver/core/NSURL.go
    • Line 7: warning: exported type NSURL should have comment or be unexported (golint)
    • Line 13: warning: exported function NSURL_Init should have comment or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; func NSURL_Init should be NSURLInit (golint)
    • macdriver/cocoa/NSBundle.go
    • Line 8: warning: exported type NSBundle should have comment or be unexported (golint)
    • Line 12: warning: exported function NSBundle_Main should have comment or be unexported (golint)
    • Line 12: warning: don't use underscores in Go names; func NSBundle_Main should be NSBundleMain (golint)
    • Line 16: warning: exported method NSBundle.InfoDictionary should have comment or be unexported (golint)
    • macdriver/cocoa/NSColor.go
    • Line 7: warning: exported type NSColor should have comment or be unexported (golint)
    • Line 11: warning: exported function NSColor_Init should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; func NSColor_Init should be NSColorInit (golint)
    • Line 15: warning: exported function NSColor_Clear should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; func NSColor_Clear should be NSColorClear (golint)
    • macdriver/cocoa/NSMenuItem.go
    • Line 18: warning: don't use underscores in Go names; func NSMenuItem_Init should be NSMenuItemInit (golint)
    • Line 24: warning: don't use underscores in Go names; func NSMenuItem_New should be NSMenuItemNew (golint)
    • Line 30: warning: don't use underscores in Go names; func NSMenuItem_Separator should be NSMenuItemSeparator (golint)
    • macdriver/cocoa/NSTextContainer.go
    • Line 8: warning: exported type NSTextContainer should have comment or be unexported (golint)
    • Line 12: warning: exported method NSTextContainer.Size should have comment or be unexported (golint)
    • Line 17: warning: exported method NSTextContainer.HeightTracksTextView should have comment or be unexported (golint)
    • Line 21: warning: exported method NSTextContainer.SetHeightTracksTextView should have comment or be unexported (golint)
    • macdriver/cocoa/NSMenu.go
    • Line 8: warning: exported type NSMenu should have comment or be unexported (golint)
    • Line 14: warning: exported function NSMenu_New should have comment or be unexported (golint)
    • Line 14: warning: don't use underscores in Go names; func NSMenu_New should be NSMenuNew (golint)
    • Line 18: warning: exported function NSMenu_Init should have comment or be unexported (golint)
    • Line 18: warning: don't use underscores in Go names; func NSMenu_Init should be NSMenuInit (golint)
    • Line 22: warning: exported method NSMenu.SetTitle should have comment or be unexported (golint)
    • Line 26: warning: exported method NSMenu.Title should have comment or be unexported (golint)
    • Line 30: warning: exported method NSMenu.AddItem should have comment or be unexported (golint)
    • Line 34: warning: exported method NSMenu.RemoveItem should have comment or be unexported (golint)
    • Line 38: warning: exported method NSMenu.SetAutoenablesItems should have comment or be unexported (golint)
    • Line 42: warning: exported method NSMenu.AutoenablesItems should have comment or be unexported (golint)
    • macdriver/core/NSRect.go
    • Line 5: warning: exported type NSRect should have comment or be unexported (golint)
    • Line 14: warning: exported function NSMakeRect should have comment or be unexported (golint)
    • macdriver/cocoa/NSFont.go
    • Line 8: warning: exported type NSFont should have comment or be unexported (golint)
    • Line 12: warning: exported function NSFont_Init should have comment or be unexported (golint)
    • Line 12: warning: don't use underscores in Go names; func NSFont_Init should be NSFontInit (golint)
    • macdriver/cocoa/NSImage.go
    • Line 24: warning: exported type NSImage should have comment or be unexported (golint)
    • Line 28: warning: exported function NSImage_InitWithData should have comment or be unexported (golint)
    • Line 28: warning: don't use underscores in Go names; func NSImage_InitWithData should be NSImageInitWithData (golint)
    • Line 32: warning: exported function NSImage_ImageNamed should have comment or be unexported (golint)
    • Line 32: warning: don't use underscores in Go names; func NSImage_ImageNamed should be NSImageImageNamed (golint)
    • Line 36: warning: comment on exported method NSImage.Size should be of the form "Size ..." (golint)
    • Line 42: warning: exported method NSImage.SetSize should have comment or be unexported (golint)
    • Line 46: warning: exported method NSImage.SetTemplate should have comment or be unexported (golint)
    • Line 50: warning: exported method NSImage.IsTemplate should have comment or be unexported (golint)
    • Line 54: warning: exported method NSImage.SetValueForKey should have comment or be unexported (golint)
    • macdriver/cocoa/NSWindow.go
    • Line 8: warning: exported type NSWindow should have comment or be unexported (golint)
    • Line 14: warning: exported function NSWindow_New should have comment or be unexported (golint)
    • Line 14: warning: don't use underscores in Go names; func NSWindow_New should be NSWindowNew (golint)
    • Line 18: warning: exported function NSWindow_WithContentViewController should have comment or be unexported (golint)
    • Line 18: warning: don't use underscores in Go names; func NSWindow_WithContentViewController should be NSWindowWithContentViewController (golint)
    • Line 22: warning: exported function NSWindow_Init should have comment or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; func NSWindow_Init should be NSWindowInit (golint)
    • Line 29: warning: exported method NSWindow.Display should have comment or be unexported (golint)
    • Line 33: warning: exported method NSWindow.Center should have comment or be unexported (golint)
    • Line 37: warning: exported method NSWindow.MakeKeyAndOrderFront should have comment or be unexported (golint)
    • Line 41: warning: exported method NSWindow.SetLevel should have comment or be unexported (golint)
    • Line 45: warning: exported method NSWindow.Level should have comment or be unexported (golint)
    • Line 49: warning: exported method NSWindow.SetStyleMask should have comment or be unexported (golint)
    • Line 53: warning: exported method NSWindow.StyleMask should have comment or be unexported (golint)
    • Line 57: warning: exported method NSWindow.SetTitle should have comment or be unexported (golint)
    • Line 61: warning: exported method NSWindow.Title should have comment or be unexported (golint)
    • Line 65: warning: exported method NSWindow.SetContentView should have comment or be unexported (golint)
    • Line 69: warning: exported method NSWindow.ContentView should have comment or be unexported (golint)
    • Line 73: warning: exported method NSWindow.IsVisible should have comment or be unexported (golint)
    • Line 77: warning: exported method NSWindow.Frame should have comment or be unexported (golint)
    • Line 82: warning: exported method NSWindow.ToggleFullScreen should have comment or be unexported (golint)
    • Line 86: warning: exported method NSWindow.ContentRectForFrameRect should have comment or be unexported (golint)
    • Line 91: warning: exported method NSWindow.SetTitlebarAppearsTransparent should have comment or be unexported (golint)
    • Line 95: warning: exported method NSWindow.TitlebarAppearsTransparent should have comment or be unexported (golint)
    • Line 99: warning: exported method NSWindow.SetTitleVisibility should have comment or be unexported (golint)
    • Line 103: warning: exported method NSWindow.TitleVisibility should have comment or be unexported (golint)
    • Line 107: warning: exported method NSWindow.SetOpaque should have comment or be unexported (golint)
    • Line 111: warning: exported method NSWindow.Opaque should have comment or be unexported (golint)
    • Line 115: warning: exported method NSWindow.Close should have comment or be unexported (golint)
    • Line 119: warning: exported method NSWindow.SetIgnoresMouseEvents should have comment or be unexported (golint)
    • Line 123: warning: exported method NSWindow.IgnoresMouseEvents should have comment or be unexported (golint)
    • Line 127: warning: exported method NSWindow.SetMovableByWindowBackground should have comment or be unexported (golint)
    • Line 131: warning: exported method NSWindow.MovableByWindowBackground should have comment or be unexported (golint)
    • Line 135: warning: exported method NSWindow.BackgroundColor should have comment or be unexported (golint)
    • Line 139: warning: exported method NSWindow.SetBackgroundColor should have comment or be unexported (golint)
    • Line 143: warning: exported method NSWindow.SetFrameDisplay should have comment or be unexported (golint)
    • Line 147: warning: exported method NSWindow.CollectionBehavior should have comment or be unexported (golint)
    • Line 151: warning: exported method NSWindow.SetCollectionBehavior should have comment or be unexported (golint)
    • macdriver/cocoa/NSEvent.go
    • Line 27: warning: exported const NSEventTypeLeftMouseDown should have comment (or a comment on this block) or be unexported (golint)
    • Line 100: warning: exported type NSEvent should have comment or be unexported (golint)
    • Line 104: warning: exported function NSEvent_GlobalMonitorMatchingMask should have comment or be unexported (golint)
    • Line 104: warning: don't use underscores in Go names; func NSEvent_GlobalMonitorMatchingMask should be NSEventGlobalMonitorMatchingMask (golint)
    • Line 109: warning: exported method NSEvent.KeyCode should have comment or be unexported (golint)
    • Line 116: warning: exported method NSEvent.Type should have comment or be unexported (golint)
    • Line 119: warning: exported method NSEvent.Characters should have comment or be unexported (golint)
    • macdriver/objc/class.go
    • Line 114: warning: exported function NewClass should have comment or be unexported (golint)
    • Line 144: warning: comment on exported function NewClassFromStruct should be of the form "NewClassFromStruct ..." (golint)
    • Line 188: warning: should omit 2nd value from range; this loop is equivalent to `for setterSelector := range ...` (golint)
    • Line 222: warning: comment on exported function GetClass should be of the form "GetClass ..." (golint)
    • Line 282: warning: receiver name obj should be consistent with previous receiver name cls for object (golint)
    • Line 289: warning: receiver name obj should be consistent with previous receiver name cls for object (golint)
    • macdriver/core/init.go
    • Line 16: warning: exported var True should have comment or be unexported (golint)
    • Line 34: warning: exported function Dispatch should have comment or be unexported (golint)
    • Line 39: warning: exported function String should have comment or be unexported (golint)
    • Line 43: warning: exported function Point should have comment or be unexported (golint)
    • Line 47: warning: exported function Size should have comment or be unexported (golint)
    • Line 51: warning: exported function Rect should have comment or be unexported (golint)
    • Line 55: warning: exported function URL should have comment or be unexported (golint)
    • macdriver/cocoa/NSTextView.go
    • Line 8: warning: exported type NSTextAlignment should have comment or be unexported (golint)
    • Line 11: warning: exported const NSTextAlignmentLeft should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type NSTextView should have comment or be unexported (golint)
    • Line 22: warning: exported function NSTextView_Init should have comment or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; func NSTextView_Init should be NSTextViewInit (golint)
    • Line 30: warning: exported method NSTextView.SetString should have comment or be unexported (golint)
    • Line 34: warning: exported method NSTextView.Selectable should have comment or be unexported (golint)
    • Line 38: warning: exported method NSTextView.SetSelectable should have comment or be unexported (golint)
    • Line 42: warning: exported method NSTextView.RichText should have comment or be unexported (golint)
    • Line 46: warning: exported method NSTextView.SetRichText should have comment or be unexported (golint)
    • Line 50: warning: exported method NSTextView.Editable should have comment or be unexported (golint)
    • Line 54: warning: exported method NSTextView.SetEditable should have comment or be unexported (golint)
    • Line 58: warning: exported method NSTextView.FieldEditor should have comment or be unexported (golint)
    • Line 62: warning: exported method NSTextView.SetFieldEditor should have comment or be unexported (golint)
    • Line 66: warning: exported method NSTextView.ImportsGraphics should have comment or be unexported (golint)
    • Line 70: warning: exported method NSTextView.SetImportsGraphics should have comment or be unexported (golint)
    • Line 74: warning: exported method NSTextView.DrawsBackground should have comment or be unexported (golint)
    • Line 78: warning: exported method NSTextView.SetDrawsBackground should have comment or be unexported (golint)
    • Line 82: warning: exported method NSTextView.Font should have comment or be unexported (golint)
    • Line 86: warning: exported method NSTextView.SetFont should have comment or be unexported (golint)
    • Line 90: warning: exported method NSTextView.SetTextColor should have comment or be unexported (golint)
    • Line 94: warning: exported method NSTextView.Alignment should have comment or be unexported (golint)
    • Line 98: warning: exported method NSTextView.SetAlignment should have comment or be unexported (golint)
    • Line 102: warning: exported method NSTextView.TextContainer should have comment or be unexported (golint)
    • Line 106: warning: exported method NSTextView.SetTextContainer should have comment or be unexported (golint)
    • Line 110: warning: exported method NSTextView.LayoutManager should have comment or be unexported (golint)
    • Line 114: warning: exported method NSTextView.SetLayoutManager should have comment or be unexported (golint)
    • macdriver/core/NSRunLoop.go
    • Line 5: warning: exported type NSRunLoop should have comment or be unexported (golint)
    • Line 11: warning: exported function NSRunLoop_Current should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; func NSRunLoop_Current should be NSRunLoopCurrent (golint)
    • Line 15: warning: exported function NSRunLoop_Main should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; func NSRunLoop_Main should be NSRunLoopMain (golint)
    • Line 19: warning: exported method NSRunLoop.Run should have comment or be unexported (golint)
    • macdriver/cocoa/NSApplication.go
    • Line 6: warning: exported const NSApplicationActivationPolicyRegular should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported var DefaultDelegate should have comment or be unexported (golint)
    • Line 27: warning: exported type NSApplication should have comment or be unexported (golint)
    • Line 33: warning: exported function NSApplication_New should have comment or be unexported (golint)
    • Line 33: warning: don't use underscores in Go names; func NSApplication_New should be NSApplicationNew (golint)
    • Line 37: warning: exported function NSApp should have comment or be unexported (golint)
    • Line 41: warning: exported function NSApp_WithDidLaunch should have comment or be unexported (golint)
    • Line 41: warning: don't use underscores in Go names; func NSApp_WithDidLaunch should be NSAppWithDidLaunch (golint)
    • Line 50: warning: exported method NSApplication.Run should have comment or be unexported (golint)
    • Line 54: warning: exported method NSApplication.Terminate should have comment or be unexported (golint)
    • Line 58: warning: exported method NSApplication.SetDelegate should have comment or be unexported (golint)
    • Line 62: warning: exported method NSApplication.Delegate should have comment or be unexported (golint)
    • Line 66: warning: exported method NSApplication.SetMainMenu should have comment or be unexported (golint)
    • Line 70: warning: exported method NSApplication.SetActivationPolicy should have comment or be unexported (golint)
    • Line 74: warning: exported method NSApplication.ActivateIgnoringOtherApps should have comment or be unexported (golint)
    • Line 78: warning: exported method NSApplication.MainMenu should have comment or be unexported (golint)
    • macdriver/cocoa/NSCell.go
    • Line 4: warning: exported const NSControlStateValueMixed should have comment (or a comment on this block) or be unexported (golint)
    • macdriver/cocoa/NSImageView.go
    • Line 7: warning: exported type NSImageView should have comment or be unexported (golint)
    • Line 11: warning: exported function NSImageView_New should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; func NSImageView_New should be NSImageViewNew (golint)
    • Line 15: warning: exported method NSImageView.SetImage should have comment or be unexported (golint)
    • Line 19: warning: exported method NSImageView.Image should have comment or be unexported (golint)
    • macdriver/cocoa/NSView.go
    • Line 8: warning: exported type NSView should have comment or be unexported (golint)
    • Line 12: warning: exported function NSView_Init should have comment or be unexported (golint)
    • Line 12: warning: don't use underscores in Go names; func NSView_Init should be NSViewInit (golint)
    • Line 16: warning: exported method NSView.Frame should have comment or be unexported (golint)
    • Line 21: warning: exported method NSView.Bounds should have comment or be unexported (golint)
    • Line 26: warning: exported method NSView.BackgroundColor should have comment or be unexported (golint)
    • Line 30: warning: exported method NSView.SetBackgroundColor should have comment or be unexported (golint)
    • Line 34: warning: exported method NSView.WantsLayer should have comment or be unexported (golint)
    • Line 38: warning: exported method NSView.SetWantsLayer should have comment or be unexported (golint)
    • Line 42: warning: exported method NSView.Layer should have comment or be unexported (golint)
    • Line 46: warning: exported method NSView.AddSubviewPositionedRelativeTo should have comment or be unexported (golint)
    • Line 50: warning: exported method NSView.SetFrameOrigin should have comment or be unexported (golint)
    • Line 54: warning: exported method NSView.SetFrameSize should have comment or be unexported (golint)
    • Line 58: warning: exported method NSView.SetBoundsOrigin should have comment or be unexported (golint)
    • Line 62: warning: exported method NSView.SetBoundsSize should have comment or be unexported (golint)
    • Line 66: warning: exported method NSView.SetOpaque should have comment or be unexported (golint)
    • Line 70: warning: exported method NSView.Opaque should have comment or be unexported (golint)
    • Line 74: warning: exported method NSView.SetValueForKey should have comment or be unexported (golint)
    • macdriver/core/NSString.go
    • Line 11: warning: exported const NSUTF8StringEncoding should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: comment on exported type NSString should be of the form "NSString ..." (with optional leading article) (golint)
    • Line 27: warning: don't use underscores in Go names; func NSString_FromString should be NSStringFromString (golint)
    • Line 33: warning: exported function NSString_FromObject should have comment or be unexported (golint)
    • Line 33: warning: don't use underscores in Go names; func NSString_FromObject should be NSStringFromObject (golint)
    • Line 37: warning: exported method NSString.SizeWithAttributes should have comment or be unexported (golint)
    • macdriver/webkit/WKWebView.go
    • Line 9: warning: exported type WKWebView should have comment or be unexported (golint)
    • Line 15: warning: exported function WKWebView_Init should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; func WKWebView_Init should be WKWebViewInit (golint)
    • Line 19: warning: exported method WKWebView.LoadRequest should have comment or be unexported (golint)
    • Line 23: warning: exported method WKWebView.Reload should have comment or be unexported (golint)
    • macdriver/cocoa/NSVisualEffectView.go
    • Line 6: warning: exported const NSVisualEffectBlendingModeBehindWindow should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported type NSVisualEffectView should have comment or be unexported (golint)
    • Line 14: warning: exported function NSVisualEffectView_New should have comment or be unexported (golint)
    • Line 14: warning: don't use underscores in Go names; func NSVisualEffectView_New should be NSVisualEffectViewNew (golint)
    • macdriver/core/CALayer.go
    • Line 5: warning: exported type CALayer should have comment or be unexported (golint)
    • Line 9: warning: exported method CALayer.CornerRadius should have comment or be unexported (golint)
    • Line 13: warning: exported method CALayer.SetCornerRadius should have comment or be unexported (golint)
    • Line 17: warning: exported method CALayer.Contents should have comment or be unexported (golint)
    • Line 21: warning: exported method CALayer.SetContents should have comment or be unexported (golint)
    • macdriver/examples/notification/main.go
    • Line 9: warning: exported type NSUserNotification should have comment or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; var NSUserNotification_ should be NSUserNotification (golint)
    • Line 13: warning: exported var NSUserNotification_ should have comment or be unexported (golint)
    • Line 15: warning: exported type NSUserNotificationCenter should have comment or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; var NSUserNotificationCenter_ should be NSUserNotificationCenter (golint)
    • Line 19: warning: exported var NSUserNotificationCenter_ should have comment or be unexported (golint)
    • macdriver/cocoa/NSStatusBar.go
    • Line 6: warning: exported const NSVariableStatusItemLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported type NSStatusBar should have comment or be unexported (golint)
    • Line 14: warning: exported function NSStatusBar_System should have comment or be unexported (golint)
    • Line 14: warning: don't use underscores in Go names; func NSStatusBar_System should be NSStatusBarSystem (golint)
    • Line 18: warning: exported method NSStatusBar.StatusItemWithLength should have comment or be unexported (golint)
    • Line 22: warning: exported method NSStatusBar.RemoveStatusItem should have comment or be unexported (golint)
    • macdriver/cocoa/NSWindow_const.go
    • Line 3: warning: exported type NSBackingStoreType should have comment or be unexported (golint)
    • Line 6: warning: exported const NSBorderlessWindowMask should have comment (or a comment on this block) or be unexported (golint)
    • macdriver/cocoa/NSLayoutManager.go
    • Line 8: warning: exported type NSLayoutManager should have comment or be unexported (golint)
    • Line 12: warning: exported method NSLayoutManager.EnsureLayoutForTextContainer should have comment or be unexported (golint)
    • Line 16: warning: exported method NSLayoutManager.UsedRectForTextContainer should have comment or be unexported (golint)
    • macdriver/cocoa/NSStatusBarButton.go
    • Line 5: warning: exported type NSStatusBarButton should have comment or be unexported (golint)
    • Line 9: warning: exported method NSStatusBarButton.SetImagePosition should have comment or be unexported (golint)
    • Line 13: warning: exported method NSStatusBarButton.ImagePosition should have comment or be unexported (golint)
    • Line 17: warning: exported method NSStatusBarButton.Title should have comment or be unexported (golint)
    • Line 21: warning: exported method NSStatusBarButton.SetTitle should have comment or be unexported (golint)
    • Line 25: warning: exported method NSStatusBarButton.Image should have comment or be unexported (golint)
    • Line 29: warning: exported method NSStatusBarButton.SetImage should have comment or be unexported (golint)
    • Line 33: warning: exported method NSStatusBarButton.ToolTip should have comment or be unexported (golint)
    • Line 37: warning: exported method NSStatusBarButton.SetToolTip should have comment or be unexported (golint)
    • macdriver/core/NSURLRequest.go
    • Line 5: warning: exported type NSURLRequest should have comment or be unexported (golint)
    • Line 11: warning: exported function NSURLRequest_Init should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; func NSURLRequest_Init should be NSURLRequestInit (golint)
    • macdriver/webkit/WKWebViewConfiguration.go
    • Line 5: warning: exported type WKWebViewConfiguration should have comment or be unexported (golint)
    • Line 9: warning: exported function WKWebViewConfiguration_New should have comment or be unexported (golint)
    • Line 9: warning: don't use underscores in Go names; func WKWebViewConfiguration_New should be WKWebViewConfigurationNew (golint)
    • Line 13: warning: exported method WKWebViewConfiguration.Preferences should have comment or be unexported (golint)
    • macdriver/cocoa/init.go
    • Line 8: warning: exported function Color should have comment or be unexported (golint)
    • Line 12: warning: exported function Font should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

An error occurred while running this test (exit status 2)


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!