Preparing report...

Report for github.com/kckrinke/go-cdk

A+    Excellent!    Found 70 issues across 129 files

Tweet

gofmt97%

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!


golint48%

Golint is a linter for Go source code.

    • go-cdk/canvas.go
    • Line 24: warning: comment on exported type Canvas should be of the form "Canvas ..." (with optional leading article) (golint)
    • Line 53: warning: comment on exported type CCanvas should be of the form "CCanvas ..." (with optional leading article) (golint)
    • Line 61: warning: comment on exported function NewCanvas should be of the form "NewCanvas ..." (golint)
    • Line 72: warning: exported method CCanvas.GetStyle should have comment or be unexported (golint)
    • Line 87: warning: comment on exported method CCanvas.Resize should be of the form "Resize ..." (golint)
    • Line 93: warning: comment on exported method CCanvas.GetContent should be of the form "GetContent ..." (golint)
    • Line 98: warning: comment on exported method CCanvas.SetContent should be of the form "SetContent ..." (golint)
    • Line 105: warning: comment on exported method CCanvas.SetRune should be of the form "SetRune ..." (golint)
    • Line 110: warning: comment on exported method CCanvas.SetOrigin should be of the form "SetOrigin ..." (golint)
    • Line 116: warning: comment on exported method CCanvas.GetOrigin should be of the form "GetOrigin ..." (golint)
    • Line 121: warning: comment on exported method CCanvas.GetSize should be of the form "GetSize ..." (golint)
    • Line 126: warning: comment on exported method CCanvas.Width should be of the form "Width ..." (golint)
    • Line 131: warning: comment on exported method CCanvas.Height should be of the form "Height ..." (golint)
    • Line 136: warning: comment on exported method CCanvas.Equals should be of the form "Equals ..." (golint)
    • Line 163: warning: comment on exported method CCanvas.Composite should be of the form "Composite ..." (golint)
    • Line 199: warning: comment on exported method CCanvas.Render should be of the form "Render ..." (golint)
    • Line 226: warning: comment on exported type CanvasForEachFn should be of the form "CanvasForEachFn ..." (with optional leading article) (golint)
    • Line 229: warning: comment on exported method CCanvas.ForEach should be of the form "ForEach ..." (golint)
    • Line 243: warning: comment on exported method CCanvas.DrawText should be of the form "DrawText ..." (golint)
    • Line 267: warning: comment on exported method CCanvas.DrawSingleLineText should be of the form "DrawSingleLineText ..." (golint)
    • Line 273: warning: comment on exported method CCanvas.DrawLine should be of the form "DrawLine ..." (golint)
    • Line 284: warning: comment on exported method CCanvas.DrawHorizontalLine should be of the form "DrawHorizontalLine ..." (golint)
    • Line 293: warning: comment on exported method CCanvas.DrawVerticalLine should be of the form "DrawVerticalLine ..." (golint)
    • Line 302: warning: comment on exported method CCanvas.Box should be of the form "Box ..." (golint)
    • Line 375: warning: exported method CCanvas.BoxWithTheme should have comment or be unexported (golint)
    • Line 389: warning: comment on exported method CCanvas.DebugBox should be of the form "DebugBox ..." (golint)
    • Line 411: warning: comment on exported method CCanvas.Fill should be of the form "Fill ..." (golint)
    • Line 426: warning: comment on exported method CCanvas.FillBorder should be of the form "FillBorder ..." (golint)
    • Line 445: warning: comment on exported method CCanvas.FillBorderTitle should be of the form "FillBorderTitle ..." (golint)
    • go-cdk/metadata.go
    • Line 22: warning: exported const TypeMetaData should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type MetaData should have comment or be unexported (golint)
    • Line 69: warning: exported type CMetaData should have comment or be unexported (golint)
    • Line 75: warning: exported method CMetaData.Init should have comment or be unexported (golint)
    • Line 84: warning: exported method CMetaData.InstallProperty should have comment or be unexported (golint)
    • Line 96: warning: exported method CMetaData.InstallBuildableProperty should have comment or be unexported (golint)
    • Line 108: warning: exported method CMetaData.OverloadProperty should have comment or be unexported (golint)
    • Line 134: warning: exported method CMetaData.ListProperties should have comment or be unexported (golint)
    • Line 141: warning: exported method CMetaData.ListBuildableProperties should have comment or be unexported (golint)
    • Line 150: warning: exported method CMetaData.SetProperties should have comment or be unexported (golint)
    • Line 167: warning: exported method CMetaData.IsProperty should have comment or be unexported (golint)
    • Line 174: warning: exported method CMetaData.IsBuildableProperty should have comment or be unexported (golint)
    • Line 181: warning: exported method CMetaData.GetProperty should have comment or be unexported (golint)
    • Line 199: warning: exported method CMetaData.SetPropertyFromString should have comment or be unexported (golint)
    • Line 213: warning: exported method CMetaData.SetProperty should have comment or be unexported (golint)
    • Line 227: warning: exported method CMetaData.GetBoolProperty should have comment or be unexported (golint)
    • Line 242: warning: exported method CMetaData.SetBoolProperty should have comment or be unexported (golint)
    • Line 252: warning: exported method CMetaData.GetStringProperty should have comment or be unexported (golint)
    • Line 267: warning: exported method CMetaData.SetStringProperty should have comment or be unexported (golint)
    • Line 277: warning: exported method CMetaData.GetIntProperty should have comment or be unexported (golint)
    • Line 292: warning: exported method CMetaData.SetIntProperty should have comment or be unexported (golint)
    • Line 302: warning: exported method CMetaData.GetFloat64Property should have comment or be unexported (golint)
    • Line 306: warning: exported method CMetaData.GetFloatProperty should have comment or be unexported (golint)
    • Line 321: warning: exported method CMetaData.SetFloatProperty should have comment or be unexported (golint)
    • Line 331: warning: exported method CMetaData.GetColorProperty should have comment or be unexported (golint)
    • Line 346: warning: exported method CMetaData.SetColorProperty should have comment or be unexported (golint)
    • Line 356: warning: exported method CMetaData.GetStyleProperty should have comment or be unexported (golint)
    • Line 371: warning: exported method CMetaData.SetStyleProperty should have comment or be unexported (golint)
    • Line 381: warning: exported method CMetaData.GetThemeProperty should have comment or be unexported (golint)
    • Line 396: warning: exported method CMetaData.SetThemeProperty should have comment or be unexported (golint)
    • Line 406: warning: exported method CMetaData.GetPointProperty should have comment or be unexported (golint)
    • Line 421: warning: exported method CMetaData.SetPointProperty should have comment or be unexported (golint)
    • Line 431: warning: exported method CMetaData.GetRectangleProperty should have comment or be unexported (golint)
    • Line 446: warning: exported method CMetaData.SetRectangleProperty should have comment or be unexported (golint)
    • Line 456: warning: exported method CMetaData.GetRegionProperty should have comment or be unexported (golint)
    • Line 471: warning: exported method CMetaData.SetRegionProperty should have comment or be unexported (golint)
    • Line 481: warning: exported method CMetaData.GetStructProperty should have comment or be unexported (golint)
    • Line 494: warning: exported method CMetaData.SetStructProperty should have comment or be unexported (golint)
    • go-cdk/style.go
    • Line 48: warning: exported function ParseStyle should have comment or be unexported (golint)
    • Line 63: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • go-cdk/text_char.go
    • Line 24: warning: exported type TextChar should have comment or be unexported (golint)
    • Line 33: warning: exported type CTextChar should have comment or be unexported (golint)
    • Line 40: warning: exported function NewTextChar should have comment or be unexported (golint)
    • Line 46: warning: exported method CTextChar.Set should have comment or be unexported (golint)
    • Line 50: warning: exported method CTextChar.SetByte should have comment or be unexported (golint)
    • Line 54: warning: exported method CTextChar.Width should have comment or be unexported (golint)
    • Line 58: warning: exported method CTextChar.Value should have comment or be unexported (golint)
    • Line 66: warning: exported method CTextChar.IsSpace should have comment or be unexported (golint)
    • go-cdk/border.go
    • Line 3: warning: exported type Border should have comment or be unexported (golint)
    • Line 18: warning: exported function NewBorder should have comment or be unexported (golint)
    • go-cdk/ctype_item_list.go
    • Line 17: warning: exported type CTypeItemList should have comment or be unexported (golint)
    • Line 19: warning: exported method CTypeItemList.Index should have comment or be unexported (golint)
    • go-cdk/display.go
    • Line 222: warning: exported const MouseButtonEvents should have comment (or a comment on this block) or be unexported (golint)
    • go-cdk/property.go
    • Line 23: warning: exported type Property should have comment or be unexported (golint)
    • Line 29: warning: exported type CProperty should have comment or be unexported (golint)
    • Line 38: warning: exported function NewProperty should have comment or be unexported (golint)
    • Line 49: warning: exported method CProperty.Clone should have comment or be unexported (golint)
    • Line 60: warning: exported method CProperty.Name should have comment or be unexported (golint)
    • Line 64: warning: exported method CProperty.Type should have comment or be unexported (golint)
    • Line 68: warning: exported method CProperty.ReadOnly should have comment or be unexported (golint)
    • Line 72: warning: exported method CProperty.Buildable should have comment or be unexported (golint)
    • Line 76: warning: exported method CProperty.Set should have comment or be unexported (golint)
    • Line 126: warning: exported method CProperty.SetFromString should have comment or be unexported (golint)
    • Line 145: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 151: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 157: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 163: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 171: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 177: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 183: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 190: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 199: warning: exported method CProperty.Default should have comment or be unexported (golint)
    • Line 204: warning: exported method CProperty.Value should have comment or be unexported (golint)
    • go-cdk/region.go
    • Line 25: warning: exported type Region should have comment or be unexported (golint)
    • Line 30: warning: exported function NewRegion should have comment or be unexported (golint)
    • Line 35: warning: exported function MakeRegion should have comment or be unexported (golint)
    • Line 42: warning: exported function ParseRegion should have comment or be unexported (golint)
    • Line 70: warning: exported method Region.Clone should have comment or be unexported (golint)
    • Line 78: warning: exported method Region.NewClone should have comment or be unexported (golint)
    • Line 83: warning: exported method Region.Set should have comment or be unexported (golint)
    • Line 87: warning: exported method Region.SetRegion should have comment or be unexported (golint)
    • Line 91: warning: exported method Region.HasPoint should have comment or be unexported (golint)
    • Line 104: warning: exported method Region.Origin should have comment or be unexported (golint)
    • Line 108: warning: exported method Region.FarPoint should have comment or be unexported (golint)
    • Line 115: warning: exported method Region.Size should have comment or be unexported (golint)
    • go-cdk/canvas_buffer.go
    • Line 22: warning: comment on exported type CanvasBuffer should be of the form "CanvasBuffer ..." (with optional leading article) (golint)
    • Line 40: warning: comment on exported type CCanvasBuffer should be of the form "CCanvasBuffer ..." (with optional leading article) (golint)
    • Line 49: warning: comment on exported function NewCanvasBuffer should be of the form "NewCanvasBuffer ..." (golint)
    • Line 68: warning: comment on exported method CCanvasBuffer.Style should be of the form "Style ..." (golint)
    • Line 73: warning: comment on exported method CCanvasBuffer.Size should be of the form "Size ..." (golint)
    • Line 78: warning: comment on exported method CCanvasBuffer.Width should be of the form "Width ..." (golint)
    • Line 83: warning: comment on exported method CCanvasBuffer.Height should be of the form "Height ..." (golint)
    • Line 88: warning: comment on exported method CCanvasBuffer.Resize should be of the form "Resize ..." (golint)
    • Line 153: warning: comment on exported method CCanvasBuffer.Cell should be of the form "Cell ..." (golint)
    • Line 163: warning: comment on exported method CCanvasBuffer.GetDim should be of the form "GetDim ..." (golint)
    • Line 171: warning: comment on exported method CCanvasBuffer.GetBgColor should be of the form "GetBgColor ..." (golint)
    • Line 179: warning: comment on exported method CCanvasBuffer.GetContent should be of the form "GetContent ..." (golint)
    • Line 186: warning: comment on exported method CCanvasBuffer.SetContent should be of the form "SetContent ..." (golint)
    • Line 203: warning: comment on exported method CCanvasBuffer.LoadData should be of the form "LoadData ..." (golint)
    • go-cdk/event_error.go
    • Line 71: warning: exported method EventError.Err should have comment or be unexported (golint)
    • Line 75: warning: exported method EventError.Clone should have comment or be unexported (golint)
    • go-cdk/quark.go
    • Line 7: warning: comment on exported type CQuark should be of the form "CQuark ..." (with optional leading article) (golint)
    • Line 22: warning: exported method CQuark.ID should have comment or be unexported (golint)
    • Line 30: warning: comment on exported function QuarkFromString should be of the form "QuarkFromString ..." (golint)
    • Line 49: warning: should omit 2nd value from range; this loop is equivalent to `for id := range ...` (golint)
    • Line 61: warning: comment on exported function QuarkToString should be of the form "QuarkToString ..." (golint)
    • Line 75: warning: comment on exported function QuarkTryString should be of the form "QuarkTryString ..." (golint)
    • go-cdk/text_cell.go
    • Line 22: warning: exported type TextCell should have comment or be unexported (golint)
    • Line 36: warning: exported type CTextCell should have comment or be unexported (golint)
    • Line 44: warning: exported function NewRuneCell should have comment or be unexported (golint)
    • Line 48: warning: exported function NewTextCell should have comment or be unexported (golint)
    • Line 56: warning: exported method CTextCell.Equals should have comment or be unexported (golint)
    • Line 60: warning: exported method CTextCell.Dirty should have comment or be unexported (golint)
    • Line 64: warning: exported method CTextCell.Set should have comment or be unexported (golint)
    • Line 71: warning: exported method CTextCell.SetByte should have comment or be unexported (golint)
    • Line 78: warning: exported method CTextCell.SetStyle should have comment or be unexported (golint)
    • Line 85: warning: exported method CTextCell.Width should have comment or be unexported (golint)
    • Line 89: warning: exported method CTextCell.Value should have comment or be unexported (golint)
    • Line 101: warning: exported method CTextCell.Style should have comment or be unexported (golint)
    • Line 105: warning: exported method CTextCell.IsNil should have comment or be unexported (golint)
    • Line 109: warning: exported method CTextCell.IsSpace should have comment or be unexported (golint)
    • go-cdk/utils/sort.go
    • Line 7: warning: exported function LexicographicLess should have comment or be unexported (golint)
    • Line 32: warning: exported function RotateSlice should have comment or be unexported (golint)
    • go-cdk/utils/strings.go
    • Line 11: warning: comment on exported function BasicWordWrap should be of the form "BasicWordWrap ..." (golint)
    • Line 33: warning: exported function PadLeft should have comment or be unexported (golint)
    • Line 42: warning: exported function PadRight should have comment or be unexported (golint)
    • Line 51: warning: exported function CleanCRLF should have comment or be unexported (golint)
    • Line 62: warning: exported function NLSprintf should have comment or be unexported (golint)
    • Line 68: warning: exported function IsEmpty should have comment or be unexported (golint)
    • Line 72: warning: exported function HasSpace should have comment or be unexported (golint)
    • Line 81: warning: exported function IsTrue should have comment or be unexported (golint)
    • Line 89: warning: exported function IsFalse should have comment or be unexported (golint)
    • Line 97: warning: exported function IsUrl should have comment or be unexported (golint)
    • Line 104: warning: exported function StringSliceHasValue should have comment or be unexported (golint)
    • Line 115: warning: exported function StripTags should have comment or be unexported (golint)
    • go-cdk/tango.go
    • Line 45: warning: exported type Tango should have comment or be unexported (golint)
    • Line 50: warning: exported type CTango should have comment or be unexported (golint)
    • Line 57: warning: exported function NewMarkup should have comment or be unexported (golint)
    • Line 73: warning: exported method CTango.Raw should have comment or be unexported (golint)
    • Line 77: warning: exported method CTango.TextBuffer should have comment or be unexported (golint)
    • go-cdk/visual.go
    • Line 3: warning: exported type Visual should have comment or be unexported (golint)
    • Line 6: warning: exported type CVisual should have comment or be unexported (golint)
    • go-cdk/cdk.go
    • Line 30: warning: exported type ScreenStateReq should have comment or be unexported (golint)
    • Line 33: warning: exported const NullRequest should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported var DefaultGoProfilePath should have comment or be unexported (golint)
    • Line 46: warning: exported type DisplayInitFn should have comment or be unexported (golint)
    • Line 48: warning: exported type App should have comment or be unexported (golint)
    • Line 64: warning: exported type CApp should have comment or be unexported (golint)
    • Line 78: warning: exported function NewApp should have comment or be unexported (golint)
    • Line 117: warning: exported method CApp.Destroy should have comment or be unexported (golint)
    • Line 127: warning: exported method CApp.GetContext should have comment or be unexported (golint)
    • Line 131: warning: exported method CApp.Tag should have comment or be unexported (golint)
    • Line 135: warning: exported method CApp.Title should have comment or be unexported (golint)
    • Line 139: warning: exported method CApp.Name should have comment or be unexported (golint)
    • Line 143: warning: exported method CApp.Usage should have comment or be unexported (golint)
    • Line 147: warning: exported method CApp.DisplayManager should have comment or be unexported (golint)
    • Line 151: warning: exported method CApp.CLI should have comment or be unexported (golint)
    • Line 155: warning: exported method CApp.Version should have comment or be unexported (golint)
    • Line 159: warning: exported method CApp.InitUI should have comment or be unexported (golint)
    • Line 163: warning: exported method CApp.AddFlag should have comment or be unexported (golint)
    • Line 167: warning: exported method CApp.AddFlags should have comment or be unexported (golint)
    • Line 173: warning: exported method CApp.AddCommand should have comment or be unexported (golint)
    • Line 177: warning: exported method CApp.AddCommands should have comment or be unexported (golint)
    • Line 183: warning: exported method CApp.Run should have comment or be unexported (golint)
    • Line 189: warning: exported method CApp.MainActionFn should have comment or be unexported (golint)
    • go-cdk/ctype.go
    • Line 23: warning: exported const TypeNil should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type Type should have comment or be unexported (golint)
    • Line 35: warning: exported type CType should have comment or be unexported (golint)
    • Line 44: warning: exported function NewType should have comment or be unexported (golint)
    • Line 53: warning: exported method CType.New should have comment or be unexported (golint)
    • Line 60: warning: exported method CType.Aliases should have comment or be unexported (golint)
    • Line 65: warning: exported method CType.Buildable should have comment or be unexported (golint)
    • Line 69: warning: exported method CType.Items should have comment or be unexported (golint)
    • Line 75: warning: exported method CType.Add should have comment or be unexported (golint)
    • Line 82: warning: exported method CType.Remove should have comment or be unexported (golint)
    • go-cdk/ctype_tag.go
    • Line 23: warning: exported type TypeTag should have comment or be unexported (golint)
    • Line 33: warning: comment on exported type CTypeTag should be of the form "CTypeTag ..." (with optional leading article) (golint)
    • Line 36: warning: comment on exported function MakeTypeTag should be of the form "MakeTypeTag ..." (golint)
    • Line 41: warning: comment on exported function NewTypeTag should be of the form "NewTypeTag ..." (golint)
    • Line 46: warning: comment on exported method CTypeTag.Tag should be of the form "Tag ..." (golint)
    • Line 56: warning: comment on exported method CTypeTag.GladeString should be of the form "GladeString ..." (golint)
    • Line 63: warning: comment on exported method CTypeTag.ClassName should be of the form "ClassName ..." (golint)
    • Line 68: warning: comment on exported method CTypeTag.Equals should be of the form "Equals ..." (golint)
    • Line 73: warning: comment on exported method CTypeTag.Less should be of the form "Less ..." (golint)
    • Line 79: warning: exported method CTypeTag.Valid should have comment or be unexported (golint)
    • go-cdk/event_mask.go
    • Line 3: warning: exported type EventMask should have comment or be unexported (golint)
    • Line 6: warning: exported const EVENT_MASK_NONE should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; const EVENt_MASK_RESIZE should be EVENtMASKRESIZE (golint)
    • go-cdk/logging.go
    • Line 32: warning: exported const LevelError should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported var LogLevels should have comment or be unexported (golint)
    • Line 48: warning: exported const FormatPretty should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported const OutputStderr should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: exported var DefaultLogPath should have comment or be unexported (golint)
    • Line 67: warning: exported const DefaultLogTimestampFormat should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: exported function ReloadLogging should have comment or be unexported (golint)
    • Line 149: warning: exported function StopLogging should have comment or be unexported (golint)
    • Line 183: warning: exported function TraceF should have comment or be unexported (golint)
    • Line 184: warning: exported function TraceDF should have comment or be unexported (golint)
    • Line 188: warning: exported function DebugF should have comment or be unexported (golint)
    • Line 189: warning: exported function DebugDF should have comment or be unexported (golint)
    • Line 193: warning: exported function InfoF should have comment or be unexported (golint)
    • Line 194: warning: exported function InfoDF should have comment or be unexported (golint)
    • Line 198: warning: exported function WarnF should have comment or be unexported (golint)
    • Line 199: warning: exported function WarnDF should have comment or be unexported (golint)
    • Line 203: warning: exported function Error should have comment or be unexported (golint)
    • Line 204: warning: exported function ErrorF should have comment or be unexported (golint)
    • Line 205: warning: exported function ErrorDF should have comment or be unexported (golint)
    • Line 209: warning: exported function Fatal should have comment or be unexported (golint)
    • Line 210: warning: exported function FatalF should have comment or be unexported (golint)
    • Line 211: warning: exported function FatalDF should have comment or be unexported (golint)
    • Line 219: warning: exported function Panic should have comment or be unexported (golint)
    • Line 220: warning: exported function PanicF should have comment or be unexported (golint)
    • Line 221: warning: exported function PanicDF should have comment or be unexported (golint)
    • Line 231: warning: exported function Exit should have comment or be unexported (golint)
    • go-cdk/text_buffer.go
    • Line 24: warning: exported var TapSpace should have comment or be unexported (golint)
    • Line 27: warning: exported type TextBuffer should have comment or be unexported (golint)
    • Line 43: warning: exported type CTextBuffer should have comment or be unexported (golint)
    • Line 52: warning: exported function NewEmptyTextBuffer should have comment or be unexported (golint)
    • Line 59: warning: exported function NewTextBuffer should have comment or be unexported (golint)
    • Line 68: warning: exported method CTextBuffer.Set should have comment or be unexported (golint)
    • Line 73: warning: exported method CTextBuffer.Input should have comment or be unexported (golint)
    • Line 77: warning: exported method CTextBuffer.SetInput should have comment or be unexported (golint)
    • Line 82: warning: exported method CTextBuffer.Style should have comment or be unexported (golint)
    • Line 86: warning: exported method CTextBuffer.SetStyle should have comment or be unexported (golint)
    • Line 95: warning: exported method CTextBuffer.Mnemonic should have comment or be unexported (golint)
    • Line 99: warning: exported method CTextBuffer.SetMnemonic should have comment or be unexported (golint)
    • Line 103: warning: exported method CTextBuffer.CharacterCount should have comment or be unexported (golint)
    • Line 110: warning: exported method CTextBuffer.WordCount should have comment or be unexported (golint)
    • Line 117: warning: exported method CTextBuffer.ClearText should have comment or be unexported (golint)
    • Line 131: warning: exported method CTextBuffer.PlainText should have comment or be unexported (golint)
    • Line 146: warning: exported method CTextBuffer.PlainTextInfo should have comment or be unexported (golint)
    • Line 158: warning: exported method CTextBuffer.Draw should have comment or be unexported (golint)
    • go-cdk/utils/math.go
    • Line 7: warning: comment on exported function ClampI should be of the form "ClampI ..." (golint)
    • Line 20: warning: comment on exported function ClampF should be of the form "ClampF ..." (golint)
    • Line 33: warning: comment on exported function FloorI should be of the form "FloorI ..." (golint)
    • Line 42: warning: comment on exported function SumInts should be of the form "SumInts ..." (golint)
    • Line 51: warning: exported function EqInts should have comment or be unexported (golint)
    • Line 66: warning: comment on exported function CeilF2I should be of the form "CeilF2I ..." (golint)
    • Line 76: warning: exported function DistInts should have comment or be unexported (golint)
    • Line 105: warning: exported function SolveSpaceAlloc should have comment or be unexported (golint)
    • Line 116: warning: exported function Distribute should have comment or be unexported (golint)
    • go-cdk/attr.go
    • Line 38: warning: comment on exported method AttrMask.IsNormal should be of the form "IsNormal ..." (golint)
    • Line 43: warning: comment on exported method AttrMask.IsBold should be of the form "IsBold ..." (golint)
    • Line 48: warning: comment on exported method AttrMask.IsBlink should be of the form "IsBlink ..." (golint)
    • Line 53: warning: comment on exported method AttrMask.IsDim should be of the form "IsDim ..." (golint)
    • Line 58: warning: comment on exported method AttrMask.IsReverse should be of the form "IsReverse ..." (golint)
    • Line 63: warning: comment on exported method AttrMask.IsUnderline should be of the form "IsUnderline ..." (golint)
    • Line 68: warning: comment on exported method AttrMask.Normal should be of the form "Normal ..." (golint)
    • Line 73: warning: comment on exported method AttrMask.Bold should be of the form "Bold ..." (golint)
    • Line 81: warning: comment on exported method AttrMask.Blink should be of the form "Blink ..." (golint)
    • Line 89: warning: comment on exported method AttrMask.Dim should be of the form "Dim ..." (golint)
    • Line 97: warning: comment on exported method AttrMask.Reverse should be of the form "Reverse ..." (golint)
    • Line 105: warning: comment on exported method AttrMask.Underline should be of the form "Underline ..." (golint)
    • go-cdk/offscreen_display.go
    • Line 28: warning: exported const OffscreenDisplayTtyPath should have comment or be unexported (golint)
    • Line 30: warning: exported function MakeOffscreenDisplay should have comment or be unexported (golint)
    • Line 102: warning: exported type COffscreenDisplay should have comment or be unexported (golint)
    • Line 128: warning: exported method COffscreenDisplay.Init should have comment or be unexported (golint)
    • Line 159: warning: exported method COffscreenDisplay.Close should have comment or be unexported (golint)
    • Line 172: warning: exported method COffscreenDisplay.SetStyle should have comment or be unexported (golint)
    • Line 178: warning: exported method COffscreenDisplay.Clear should have comment or be unexported (golint)
    • Line 182: warning: exported method COffscreenDisplay.Fill should have comment or be unexported (golint)
    • Line 188: warning: exported method COffscreenDisplay.SetCell should have comment or be unexported (golint)
    • Line 196: warning: exported method COffscreenDisplay.SetContent should have comment or be unexported (golint)
    • Line 202: warning: exported method COffscreenDisplay.GetContent should have comment or be unexported (golint)
    • Line 269: warning: exported method COffscreenDisplay.ShowCursor should have comment or be unexported (golint)
    • Line 275: warning: exported method COffscreenDisplay.HideCursor should have comment or be unexported (golint)
    • Line 294: warning: exported method COffscreenDisplay.Show should have comment or be unexported (golint)
    • Line 327: warning: exported method COffscreenDisplay.EnableMouse should have comment or be unexported (golint)
    • Line 331: warning: exported method COffscreenDisplay.DisableMouse should have comment or be unexported (golint)
    • Line 335: warning: exported method COffscreenDisplay.EnablePaste should have comment or be unexported (golint)
    • Line 339: warning: exported method COffscreenDisplay.DisablePaste should have comment or be unexported (golint)
    • Line 343: warning: exported method COffscreenDisplay.Size should have comment or be unexported (golint)
    • Line 358: warning: exported method COffscreenDisplay.Colors should have comment or be unexported (golint)
    • Line 362: warning: exported method COffscreenDisplay.PollEvent should have comment or be unexported (golint)
    • Line 371: warning: exported method COffscreenDisplay.PostEventWait should have comment or be unexported (golint)
    • Line 375: warning: exported method COffscreenDisplay.PostEvent should have comment or be unexported (golint)
    • Line 384: warning: exported method COffscreenDisplay.InjectMouse should have comment or be unexported (golint)
    • Line 389: warning: exported method COffscreenDisplay.InjectKey should have comment or be unexported (golint)
    • Line 394: warning: exported method COffscreenDisplay.InjectKeyBytes should have comment or be unexported (golint)
    • Line 442: warning: exported method COffscreenDisplay.Sync should have comment or be unexported (golint)
    • Line 450: warning: exported method COffscreenDisplay.CharacterSet should have comment or be unexported (golint)
    • Line 454: warning: exported method COffscreenDisplay.SetSize should have comment or be unexported (golint)
    • Line 469: warning: exported method COffscreenDisplay.GetContents should have comment or be unexported (golint)
    • Line 476: warning: exported method COffscreenDisplay.GetCursor should have comment or be unexported (golint)
    • Line 483: warning: exported method COffscreenDisplay.RegisterRuneFallback should have comment or be unexported (golint)
    • Line 489: warning: exported method COffscreenDisplay.UnregisterRuneFallback should have comment or be unexported (golint)
    • Line 495: warning: exported method COffscreenDisplay.CanDisplay should have comment or be unexported (golint)
    • Line 516: warning: exported method COffscreenDisplay.HasMouse should have comment or be unexported (golint)
    • Line 520: warning: exported method COffscreenDisplay.Resize should have comment or be unexported (golint)
    • Line 522: warning: exported method COffscreenDisplay.HasKey should have comment or be unexported (golint)
    • Line 526: warning: exported method COffscreenDisplay.Beep should have comment or be unexported (golint)
    • Line 530: warning: exported method COffscreenDisplay.Export should have comment or be unexported (golint)
    • Line 542: warning: exported method COffscreenDisplay.Import should have comment or be unexported (golint)
    • go-cdk/signaling.go
    • Line 22: warning: exported const TypeSignaling should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type Signaling should have comment or be unexported (golint)
    • Line 46: warning: exported type CSignaling should have comment or be unexported (golint)
    • Line 55: warning: exported method CSignaling.Init should have comment or be unexported (golint)
    • Line 70: warning: exported method CSignaling.Handled should have comment or be unexported (golint)
    • Line 137: warning: comment on exported method CSignaling.StopSignal should be of the form "StopSignal ..." (golint)
    • Line 145: warning: exported method CSignaling.IsSignalStopped should have comment or be unexported (golint)
    • Line 158: warning: exported method CSignaling.PassSignal should have comment or be unexported (golint)
    • Line 165: warning: exported method CSignaling.IsSignalPassed should have comment or be unexported (golint)
    • Line 178: warning: comment on exported method CSignaling.ResumeSignal should be of the form "ResumeSignal ..." (golint)
    • Line 213: warning: exported method CSignaling.Freeze should have comment or be unexported (golint)
    • Line 217: warning: exported method CSignaling.Thaw should have comment or be unexported (golint)
    • Line 221: warning: exported method CSignaling.IsFrozen should have comment or be unexported (golint)
    • go-cdk/word_line.go
    • Line 22: warning: exported type WordLine should have comment or be unexported (golint)
    • Line 41: warning: exported type CWordLine should have comment or be unexported (golint)
    • Line 46: warning: exported function NewEmptyWordLine should have comment or be unexported (golint)
    • Line 53: warning: exported function NewWordLine should have comment or be unexported (golint)
    • Line 61: warning: exported method CWordLine.SetLine should have comment or be unexported (golint)
    • Line 91: warning: exported method CWordLine.AppendWord should have comment or be unexported (golint)
    • Line 96: warning: exported method CWordLine.AppendWordCell should have comment or be unexported (golint)
    • Line 101: warning: exported method CWordLine.AppendWordRune should have comment or be unexported (golint)
    • Line 110: warning: exported method CWordLine.GetWord should have comment or be unexported (golint)
    • Line 117: warning: exported method CWordLine.RemoveWord should have comment or be unexported (golint)
    • Line 127: warning: exported method CWordLine.GetCharacter should have comment or be unexported (golint)
    • Line 142: warning: exported method CWordLine.SetCharacter should have comment or be unexported (golint)
    • Line 157: warning: exported method CWordLine.Words should have comment or be unexported (golint)
    • Line 161: warning: exported method CWordLine.Len should have comment or be unexported (golint)
    • Line 165: warning: exported method CWordLine.CharacterCount should have comment or be unexported (golint)
    • Line 172: warning: exported method CWordLine.WordCount should have comment or be unexported (golint)
    • Line 181: warning: exported method CWordLine.HasSpace should have comment or be unexported (golint)
    • Line 190: warning: exported method CWordLine.Value should have comment or be unexported (golint)
    • Line 213: warning: comment on exported method CWordLine.Make should be of the form "Make ..." (golint)
    • go-cdk/encoding.go
    • Line 79: warning: exported function UnregisterEncoding should have comment or be unexported (golint)
    • Line 139: warning: exported function ListEncodings should have comment or be unexported (golint)
    • go-cdk/word_line_cache.go
    • Line 9: warning: exported type CWordPage should have comment or be unexported (golint)
    • Line 11: warning: exported type WordLineCacheFn should have comment or be unexported (golint)
    • Line 13: warning: exported type WordPageCache should have comment or be unexported (golint)
    • Line 17: warning: exported type CWordLineCache should have comment or be unexported (golint)
    • Line 21: warning: exported function NewWordPageCache should have comment or be unexported (golint)
    • Line 27: warning: exported method CWordLineCache.Clear should have comment or be unexported (golint)
    • Line 34: warning: exported method CWordLineCache.Hit should have comment or be unexported (golint)
    • Line 45: warning: exported function MakeTag should have comment or be unexported (golint)
    • go-cdk/colormap.go
    • Line 3: warning: exported type Colormap should have comment or be unexported (golint)
    • Line 6: warning: exported type CColormap should have comment or be unexported (golint)
    • go-cdk/offscreen_window.go
    • Line 18: warning: exported const TypeOffscreenWindow should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: comment on exported type OffscreenWindow should be of the form "OffscreenWindow ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported type COffscreenWindow should be of the form "COffscreenWindow ..." (with optional leading article) (golint)
    • Line 47: warning: exported function NewOffscreenWindow should have comment or be unexported (golint)
    • Line 60: warning: exported method COffscreenWindow.Init should have comment or be unexported (golint)
    • Line 68: warning: exported method COffscreenWindow.SetTitle should have comment or be unexported (golint)
    • Line 74: warning: exported method COffscreenWindow.GetTitle should have comment or be unexported (golint)
    • Line 78: warning: exported method COffscreenWindow.GetDisplayManager should have comment or be unexported (golint)
    • Line 83: warning: exported method COffscreenWindow.SetDisplayManager should have comment or be unexported (golint)
    • Line 89: warning: exported method COffscreenWindow.Draw should have comment or be unexported (golint)
    • Line 93: warning: exported method COffscreenWindow.ProcessEvent should have comment or be unexported (golint)
    • go-cdk/rectangle.go
    • Line 28: warning: comment on exported function NewRectangle should be of the form "NewRectangle ..." (golint)
    • Line 34: warning: comment on exported function MakeRectangle should be of the form "MakeRectangle ..." (golint)
    • Line 39: warning: comment on exported function ParseRectangle should be of the form "ParseRectangle ..." (golint)
    • Line 68: warning: comment on exported method Rectangle.Clone should be of the form "Clone ..." (golint)
    • Line 75: warning: comment on exported method Rectangle.NewClone should be of the form "NewClone ..." (golint)
    • Line 81: warning: comment on exported method Rectangle.Equals should be of the form "Equals ..." (golint)
    • Line 87: warning: comment on exported method Rectangle.EqualsTo should be of the form "EqualsTo ..." (golint)
    • Line 93: warning: comment on exported method Rectangle.Set should be of the form "Set ..." (golint)
    • Line 99: warning: comment on exported method Rectangle.SetRectangle should be of the form "SetRectangle ..." (golint)
    • Line 105: warning: comment on exported method Rectangle.Add should be of the form "Add ..." (golint)
    • Line 111: warning: comment on exported method Rectangle.AddRectangle should be of the form "AddRectangle ..." (golint)
    • Line 117: warning: comment on exported method Rectangle.Sub should be of the form "Sub ..." (golint)
    • Line 123: warning: comment on exported method Rectangle.SubRectangle should be of the form "SubRectangle ..." (golint)
    • Line 129: warning: comment on exported method Rectangle.Volume should be of the form "Volume ..." (golint)
    • Line 134: warning: comment on exported method Rectangle.Floor should be of the form "Floor ..." (golint)
    • Line 145: warning: comment on exported method Rectangle.Clamp should be of the form "Clamp ..." (golint)
    • Line 162: warning: exported method Rectangle.ClampToRegion should have comment or be unexported (golint)
    • go-cdk/testing.go
    • Line 23: warning: don't use underscores in Go names; var _cdk__prev_exit should be _cdkPrevExit (golint)
    • Line 24: warning: don't use underscores in Go names; var _cdk__fake_exited should be _cdkFakeExited (golint)
    • Line 25: warning: don't use underscores in Go names; var _cdk__last_fake_logged should be _cdkLastFakeLogged (golint)
    • Line 26: warning: don't use underscores in Go names; var _cdk__last_fake_exited should be _cdkLastFakeExited (golint)
    • Line 27: warning: don't use underscores in Go names; var _cdk__last_fake_error should be _cdkLastFakeError (golint)
    • Line 30: warning: exported function FakeExiting should have comment or be unexported (golint)
    • Line 38: warning: exported function DidFakeExit should have comment or be unexported (golint)
    • Line 42: warning: exported function ResetFakeExited should have comment or be unexported (golint)
    • Line 46: warning: exported function RestoreExiting should have comment or be unexported (golint)
    • Line 52: warning: exported function DoWithFakeIO should have comment or be unexported (golint)
    • Line 53: warning: don't use underscores in Go names; var real_stdout should be realStdout (golint)
    • Line 54: warning: don't use underscores in Go names; var real_stderr should be realStderr (golint)
    • Line 59: warning: don't use underscores in Go names; var fn_err should be fnErr (golint)
    • Line 60: warning: don't use underscores in Go names; var faked_it should be fakedIt (golint)
    • Line 75: warning: exported function GetLastFakeIO should have comment or be unexported (golint)
    • Line 79: warning: exported type AppFn should have comment or be unexported (golint)
    • Line 80: warning: exported type DisplayManagerFn should have comment or be unexported (golint)
    • Line 82: warning: exported function WithApp should have comment or be unexported (golint)
    • Line 104: warning: exported function WithDisplayManager should have comment or be unexported (golint)
    • Line 113: warning: exported function TestingMakesNoContent should have comment or be unexported (golint)
    • Line 117: warning: exported function TestingMakesActiveWindow should have comment or be unexported (golint)
    • go-cdk/window.go
    • Line 18: warning: exported const TypeWindow should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: comment on exported type Window should be of the form "Window ..." (with optional leading article) (golint)
    • Line 42: warning: comment on exported type CWindow should be of the form "CWindow ..." (with optional leading article) (golint)
    • Line 50: warning: exported function NewWindow should have comment or be unexported (golint)
    • Line 59: warning: exported method CWindow.Init should have comment or be unexported (golint)
    • Line 67: warning: exported method CWindow.SetTitle should have comment or be unexported (golint)
    • Line 73: warning: exported method CWindow.GetTitle should have comment or be unexported (golint)
    • Line 77: warning: exported method CWindow.GetDisplayManager should have comment or be unexported (golint)
    • Line 81: warning: exported method CWindow.SetDisplayManager should have comment or be unexported (golint)
    • Line 87: warning: exported method CWindow.Draw should have comment or be unexported (golint)
    • Line 91: warning: exported method CWindow.ProcessEvent should have comment or be unexported (golint)
    • go-cdk/utils/paths.go
    • Line 11: warning: exported function FileWritable should have comment or be unexported (golint)
    • Line 20: warning: exported function IsFile should have comment or be unexported (golint)
    • Line 27: warning: exported function IsDir should have comment or be unexported (golint)
    • Line 34: warning: exported function MakeDir should have comment or be unexported (golint)
    • Line 44: warning: exported function ReadFile should have comment or be unexported (golint)
    • go-cdk/ctype_item.go
    • Line 22: warning: exported type TypeItem should have comment or be unexported (golint)
    • Line 45: warning: exported type CTypeItem should have comment or be unexported (golint)
    • Line 56: warning: exported function NewTypeItem should have comment or be unexported (golint)
    • Line 67: warning: exported method CTypeItem.InitTypeItem should have comment or be unexported (golint)
    • Line 89: warning: exported method CTypeItem.Init should have comment or be unexported (golint)
    • Line 114: warning: exported method CTypeItem.IsValid should have comment or be unexported (golint)
    • Line 118: warning: exported method CTypeItem.Self should have comment or be unexported (golint)
    • Line 126: warning: exported method CTypeItem.GetTypeTag should have comment or be unexported (golint)
    • Line 130: warning: exported method CTypeItem.GetName should have comment or be unexported (golint)
    • Line 134: warning: exported method CTypeItem.SetName should have comment or be unexported (golint)
    • Line 140: warning: exported method CTypeItem.ObjectID should have comment or be unexported (golint)
    • Line 144: warning: exported method CTypeItem.ObjectName should have comment or be unexported (golint)
    • Line 151: warning: exported method CTypeItem.DestroyObject should have comment or be unexported (golint)
    • Line 160: warning: exported method CTypeItem.LogTag should have comment or be unexported (golint)
    • Line 167: warning: exported method CTypeItem.LogTrace should have comment or be unexported (golint)
    • Line 171: warning: exported method CTypeItem.LogDebug should have comment or be unexported (golint)
    • Line 175: warning: exported method CTypeItem.LogInfo should have comment or be unexported (golint)
    • Line 179: warning: exported method CTypeItem.LogWarn should have comment or be unexported (golint)
    • Line 183: warning: exported method CTypeItem.LogError should have comment or be unexported (golint)
    • Line 187: warning: exported method CTypeItem.LogErr should have comment or be unexported (golint)
    • go-cdk/buttonmask.go
    • Line 54: warning: exported type IButtonMask should have comment or be unexported (golint)
    • Line 62: warning: comment on exported method ButtonMask.Has should be of the form "Has ..." (golint)
    • Line 67: warning: comment on exported method ButtonMask.Set should be of the form "Set ..." (golint)
    • Line 72: warning: comment on exported method ButtonMask.Clear should be of the form "Clear ..." (golint)
    • Line 77: warning: comment on exported method ButtonMask.Toggle should be of the form "Toggle ..." (golint)
    • go-cdk/theme.go
    • Line 22: warning: exported var DefaultFillRune should have comment or be unexported (golint)
    • Line 50: warning: exported var DefaultNilTheme should have comment or be unexported (golint)
    • Line 79: warning: exported type BorderRuneSet should have comment or be unexported (golint)
    • Line 104: warning: exported type ArrowRuneSet should have comment or be unexported (golint)
    • Line 121: warning: exported type ThemeAspect should have comment or be unexported (golint)
    • Line 144: warning: exported type Theme should have comment or be unexported (golint)
    • go-cdk/timing.go
    • Line 83: warning: exported type TimerCallbackFn should have comment or be unexported (golint)
    • Line 85: warning: exported function AddTimeout should have comment or be unexported (golint)
    • Line 95: warning: exported function CancelTimeout should have comment or be unexported (golint)
    • go-cdk/enumtypes.go
    • Line 24: warning: exported type EnumFromString should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type WindowType should be of the form "WindowType ..." (with optional leading article) (golint)
    • Line 32: warning: exported const WINDOW_TOPLEVEL should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: comment on exported type WrapMode should be of the form "WrapMode ..." (with optional leading article) (golint)
    • Line 40: warning: exported const WRAP_NONE should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported method WrapMode.FromString should have comment or be unexported (golint)
    • Line 60: warning: comment on exported type DragResult should be of the form "DragResult ..." (with optional leading article) (golint)
    • Line 64: warning: exported const DRAG_RESULT_SUCCESS should have comment (or a comment on this block) or be unexported (golint)
    • Line 72: warning: comment on exported type DestDefaults should be of the form "DestDefaults ..." (with optional leading article) (golint)
    • Line 76: warning: exported const DEST_DEFAULT_MOTION should have comment (or a comment on this block) or be unexported (golint)
    • Line 82: warning: comment on exported type TargetFlags should be of the form "TargetFlags ..." (with optional leading article) (golint)
    • Line 86: warning: exported const TARGET_SAME_APP should have comment (or a comment on this block) or be unexported (golint)
    • Line 92: warning: comment on exported type ObjectFlags should be of the form "ObjectFlags ..." (with optional leading article) (golint)
    • Line 96: warning: exported const IN_DESTRUCTION should have comment (or a comment on this block) or be unexported (golint)
    • Line 102: warning: comment on exported type EventFlag should be of the form "EventFlag ..." (with optional leading article) (golint)
    • Line 111: warning: comment on exported type SignalFlags should be of the form "SignalFlags ..." (with optional leading article) (golint)
    • Line 115: warning: exported const SIGNAL_RUN_FIRST should have comment (or a comment on this block) or be unexported (golint)
    • Line 126: warning: comment on exported type ConnectFlags should be of the form "ConnectFlags ..." (with optional leading article) (golint)
    • Line 130: warning: exported const CONNECT_AFTER should have comment (or a comment on this block) or be unexported (golint)
    • Line 134: warning: comment on exported type SignalMatchType should be of the form "SignalMatchType ..." (with optional leading article) (golint)
    • Line 138: warning: exported const SIGNAL_MATCH_ID should have comment (or a comment on this block) or be unexported (golint)
    • Line 146: warning: comment on exported type SignalRunType should be of the form "SignalRunType ..." (with optional leading article) (golint)
    • Line 150: warning: exported const RUN_FIRST should have comment (or a comment on this block) or be unexported (golint)
    • Line 158: warning: exported type HorizontalAlignment should have comment or be unexported (golint)
    • Line 161: warning: exported const ALIGN_LEFT should have comment (or a comment on this block) or be unexported (golint)
    • Line 166: warning: exported type VerticalAlignment should have comment or be unexported (golint)
    • Line 169: warning: exported const ALIGN_TOP should have comment (or a comment on this block) or be unexported (golint)
    • Line 174: warning: comment on exported type ResizeMode should be of the form "ResizeMode ..." (with optional leading article) (golint)
    • Line 178: warning: exported const RESIZE_PARENT should have comment (or a comment on this block) or be unexported (golint)
    • Line 183: warning: comment on exported type Justification should be of the form "Justification ..." (with optional leading article) (golint)
    • Line 187: warning: exported const JUSTIFY_LEFT should have comment (or a comment on this block) or be unexported (golint)
    • Line 193: warning: comment on exported type Orientation should be of the form "Orientation ..." (with optional leading article) (golint)
    • Line 196: warning: exported method Orientation.FromString should have comment or be unexported (golint)
    • Line 207: warning: exported const ORIENTATION_NONE should have comment (or a comment on this block) or be unexported (golint)
    • go-cdk/range.go
    • Line 23: warning: exported type Range should have comment or be unexported (golint)
    • Line 27: warning: exported function NewRange should have comment or be unexported (golint)
    • Line 32: warning: exported function MakeRange should have comment or be unexported (golint)
    • go-cdk/word_cell.go
    • Line 19: warning: exported type WordCell should have comment or be unexported (golint)
    • Line 33: warning: exported type CWordCell should have comment or be unexported (golint)
    • Line 37: warning: exported function NewEmptyWordCell should have comment or be unexported (golint)
    • Line 43: warning: exported function NewNilWordCell should have comment or be unexported (golint)
    • Line 49: warning: exported function NewWordCell should have comment or be unexported (golint)
    • Line 55: warning: exported method CWordCell.Characters should have comment or be unexported (golint)
    • Line 59: warning: exported method CWordCell.Set should have comment or be unexported (golint)
    • Line 67: warning: exported method CWordCell.GetCharacter should have comment or be unexported (golint)
    • Line 74: warning: exported method CWordCell.AppendRune should have comment or be unexported (golint)
    • Line 81: warning: exported method CWordCell.IsNil should have comment or be unexported (golint)
    • Line 90: warning: exported method CWordCell.IsSpace should have comment or be unexported (golint)
    • Line 99: warning: exported method CWordCell.HasSpace should have comment or be unexported (golint)
    • Line 108: warning: comment on exported method CWordCell.Len should be of the form "Len ..." (golint)
    • Line 117: warning: comment on exported method CWordCell.CompactLen should be of the form "CompactLen ..." (golint)
    • Line 128: warning: comment on exported method CWordCell.Value should be of the form "Value ..." (golint)
    • go-cdk/color.go
    • Line 42: warning: comment on exported const ColorValid should be of the form "ColorValid ..." (golint)
    • Line 1085: warning: comment on exported function ParseColor should be of the form "ParseColor ..." (golint)
    • go-cdk/event_mouse.go
    • Line 50: warning: exported var MOUSE_STATES should have comment or be unexported (golint)
    • Line 60: warning: don't use underscores in Go names; var previous_event_mouse should be previousEventMouse (golint)
    • Line 87: warning: exported method EventMouse.Clone should have comment or be unexported (golint)
    • Line 99: warning: exported method EventMouse.CloneForPosition should have comment or be unexported (golint)
    • Line 133: warning: exported method EventMouse.Button should have comment or be unexported (golint)
    • Line 137: warning: exported method EventMouse.ButtonHas should have comment or be unexported (golint)
    • Line 141: warning: exported method EventMouse.State should have comment or be unexported (golint)
    • Line 145: warning: exported method EventMouse.StateHas should have comment or be unexported (golint)
    • Line 149: warning: exported method EventMouse.IsPressed should have comment or be unexported (golint)
    • Line 153: warning: exported method EventMouse.IsReleased should have comment or be unexported (golint)
    • Line 157: warning: exported method EventMouse.IsMoving should have comment or be unexported (golint)
    • Line 161: warning: exported method EventMouse.IsDragging should have comment or be unexported (golint)
    • Line 165: warning: exported method EventMouse.IsDragStarted should have comment or be unexported (golint)
    • Line 169: warning: exported method EventMouse.IsDragStopped should have comment or be unexported (golint)
    • Line 173: warning: exported method EventMouse.IsWheelImpulse should have comment or be unexported (golint)
    • Line 177: warning: exported method EventMouse.WheelImpulse should have comment or be unexported (golint)
    • Line 188: warning: exported method EventMouse.ButtonPressed should have comment or be unexported (golint)
    • Line 198: warning: exported function DescribeButton should have comment or be unexported (golint)
    • Line 226: warning: exported method EventMouse.Report should have comment or be unexported (golint)
    • Line 246: warning: don't use underscores in Go names; method process_mouse_event should be processMouseEvent (golint)
    • Line 252: warning: don't use underscores in Go names; var did_move should be didMove (golint)
    • go-cdk/cell_test.go
    • Line 52: warning: don't use underscores in Go names; var prev_main should be prevMain (golint)
    • Line 57: warning: don't use underscores in Go names; var prev_style should be prevStyle (golint)
    • Line 62: warning: don't use underscores in Go names; var prev_comb should be prevComb (golint)
    • go-cdk/ctype_registry.go
    • Line 24: warning: exported var TypesManager should have comment or be unexported (golint)
    • Line 27: warning: exported type TypeRegistry should have comment or be unexported (golint)
    • Line 45: warning: exported type CTypeRegistry should have comment or be unexported (golint)
    • Line 52: warning: exported function NewTypeRegistry should have comment or be unexported (golint)
    • Line 59: warning: exported method CTypeRegistry.GetTypeTags should have comment or be unexported (golint)
    • Line 60: warning: should omit 2nd value from range; this loop is equivalent to `for tt := range ...` (golint)
    • Line 69: warning: exported method CTypeRegistry.GetBuildableInfo should have comment or be unexported (golint)
    • Line 92: warning: exported method CTypeRegistry.MakeType should have comment or be unexported (golint)
    • Line 104: warning: exported method CTypeRegistry.AddType should have comment or be unexported (golint)
    • Line 118: warning: exported method CTypeRegistry.HasType should have comment or be unexported (golint)
    • Line 123: warning: exported method CTypeRegistry.GetType should have comment or be unexported (golint)
    • Line 128: warning: exported method CTypeRegistry.AddTypeAlias should have comment or be unexported (golint)
    • Line 141: warning: exported method CTypeRegistry.GetTypeTagByAlias should have comment or be unexported (golint)
    • Line 150: warning: exported method CTypeRegistry.AddTypeItem should have comment or be unexported (golint)
    • Line 166: warning: exported method CTypeRegistry.HasID should have comment or be unexported (golint)
    • Line 181: warning: exported method CTypeRegistry.GetNextID should have comment or be unexported (golint)
    • Line 190: warning: exported method CTypeRegistry.GetTypeItems should have comment or be unexported (golint)
    • Line 199: warning: exported method CTypeRegistry.GetTypeItemByID should have comment or be unexported (golint)
    • Line 214: warning: exported method CTypeRegistry.GetTypeItemByName should have comment or be unexported (golint)
    • Line 229: warning: exported method CTypeRegistry.RemoveTypeItem should have comment or be unexported (golint)
    • go-cdk/event_key.go
    • Line 205: warning: exported function LookupKeyName should have comment or be unexported (golint)
    • Line 286: warning: exported method ModMask.Has should have comment or be unexported (golint)
    • Line 601: warning: exported function LookupKeyRune should have comment or be unexported (golint)
    • go-cdk/property_type.go
    • Line 18: warning: exported const BoolProperty should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type PropertyType should have comment or be unexported (golint)
    • go-cdk/object.go
    • Line 21: warning: exported const TypeObject should have comment or be unexported (golint)
    • Line 27: warning: comment on exported type Object should be of the form "Object ..." (with optional leading article) (golint)
    • Line 44: warning: exported type CObject should have comment or be unexported (golint)
    • Line 48: warning: exported method CObject.Init should have comment or be unexported (golint)
    • Line 74: warning: exported method CObject.InitWithProperties should have comment or be unexported (golint)
    • Line 84: warning: exported method CObject.Destroy should have comment or be unexported (golint)
    • Line 92: warning: exported method CObject.GetName should have comment or be unexported (golint)
    • Line 100: warning: exported method CObject.SetName should have comment or be unexported (golint)
    • Line 106: warning: exported method CObject.GetTheme should have comment or be unexported (golint)
    • Line 114: warning: exported method CObject.SetTheme should have comment or be unexported (golint)
    • Line 120: warning: exported method CObject.GetThemeRequest should have comment or be unexported (golint)
    • Line 129: warning: exported method CObject.SetThemeRequest should have comment or be unexported (golint)
    • Line 135: warning: comment on exported const SignalDestroy should be of the form "SignalDestroy ..." (golint)
    • Line 138: warning: comment on exported const PropertyDebug should be of the form "PropertyDebug ..." (golint)
    • Line 142: warning: comment on exported const PropertyName should be of the form "PropertyName ..." (golint)
    • Line 145: warning: exported const PropertyTheme should have comment or be unexported (golint)
    • Line 147: warning: exported const PropertyThemeRequest should have comment or be unexported (golint)
    • go-cdk/point2i.go
    • Line 28: warning: comment on exported function NewPoint2I should be of the form "NewPoint2I ..." (golint)
    • Line 34: warning: comment on exported function MakePoint2I should be of the form "MakePoint2I ..." (golint)
    • Line 39: warning: comment on exported function ParsePoint2I should be of the form "ParsePoint2I ..." (golint)
    • Line 68: warning: comment on exported method Point2I.Clone should be of the form "Clone ..." (golint)
    • Line 75: warning: comment on exported method Point2I.NewClone should be of the form "NewClone ..." (golint)
    • Line 81: warning: comment on exported method Point2I.Equals should be of the form "Equals ..." (golint)
    • Line 87: warning: comment on exported method Point2I.EqualsTo should be of the form "EqualsTo ..." (golint)
    • Line 93: warning: comment on exported method Point2I.Set should be of the form "Set ..." (golint)
    • Line 99: warning: comment on exported method Point2I.SetPoint should be of the form "SetPoint ..." (golint)
    • Line 105: warning: comment on exported method Point2I.Add should be of the form "Add ..." (golint)
    • Line 111: warning: comment on exported method Point2I.AddPoint should be of the form "AddPoint ..." (golint)
    • Line 117: warning: comment on exported method Point2I.Sub should be of the form "Sub ..." (golint)
    • Line 123: warning: comment on exported method Point2I.SubPoint should be of the form "SubPoint ..." (golint)
    • Line 129: warning: comment on exported method Point2I.ClampToRegion should be of the form "ClampToRegion ..." (golint)
    • go-cdk/signal_listener.go
    • Line 17: warning: exported type SignalListenerFn should have comment or be unexported (golint)
    • Line 19: warning: exported type SignalListenerData should have comment or be unexported (golint)
    • Line 21: warning: exported type CSignalListener should have comment or be unexported (golint)
    • go-cdk/mousestate.go
    • Line 21: warning: exported type MouseState should have comment or be unexported (golint)
    • Line 24: warning: exported const MOUSE_NONE should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type IMouseState should have comment or be unexported (golint)
    • Line 42: warning: exported method MouseState.Has should have comment or be unexported (golint)
    • Line 46: warning: exported method MouseState.Set should have comment or be unexported (golint)
    • Line 50: warning: exported method MouseState.Clear should have comment or be unexported (golint)
    • Line 54: warning: exported method MouseState.Toggle should have comment or be unexported (golint)
    • Line 59: warning: don't use underscores in Go names; const _MouseState_name_0 should be _MouseStateName0 (golint)
    • Line 60: warning: don't use underscores in Go names; const _MouseState_name_1 should be _MouseStateName1 (golint)
    • Line 61: warning: don't use underscores in Go names; const _MouseState_name_2 should be _MouseStateName2 (golint)
    • Line 62: warning: don't use underscores in Go names; const _MouseState_name_3 should be _MouseStateName3 (golint)
    • Line 63: warning: don't use underscores in Go names; const _MouseState_name_4 should be _MouseStateName4 (golint)
    • Line 64: warning: don't use underscores in Go names; const _MouseState_name_5 should be _MouseStateName5 (golint)
    • Line 65: warning: don't use underscores in Go names; const _MouseState_name_6 should be _MouseStateName6 (golint)
    • Line 66: warning: don't use underscores in Go names; const _MouseState_name_7 should be _MouseStateName7 (golint)
    • go-cdk/pixmap.go
    • Line 3: warning: exported type Pixmap should have comment or be unexported (golint)
    • Line 6: warning: exported type CPixmap should have comment or be unexported (golint)
    • go-cdk/display_manager.go
    • Line 32: warning: exported var DisplayCallQueueCapacity should have comment or be unexported (golint)
    • Line 38: warning: exported const TypeDisplayManager should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported type DisplayCallbackFn should have comment or be unexported (golint)
    • Line 56: warning: exported type DisplayManager should have comment or be unexported (golint)
    • Line 104: warning: comment on exported type CDisplayManager should be of the form "CDisplayManager ..." (with optional leading article) (golint)
    • Line 149: warning: exported function NewDisplayManager should have comment or be unexported (golint)
    • Line 160: warning: exported method CDisplayManager.Init should have comment or be unexported (golint)
    • Line 195: warning: exported function GetDisplayManager should have comment or be unexported (golint)
    • Line 200: warning: exported function GetCurrentTheme should have comment or be unexported (golint)
    • Line 208: warning: exported function SetCurrentTheme should have comment or be unexported (golint)
    • Line 214: warning: exported method CDisplayManager.Destroy should have comment or be unexported (golint)
    • Line 228: warning: exported method CDisplayManager.GetTitle should have comment or be unexported (golint)
    • Line 232: warning: exported method CDisplayManager.SetTitle should have comment or be unexported (golint)
    • Line 236: warning: exported method CDisplayManager.GetTtyPath should have comment or be unexported (golint)
    • Line 240: warning: exported method CDisplayManager.SetTtyPath should have comment or be unexported (golint)
    • Line 244: warning: exported method CDisplayManager.Display should have comment or be unexported (golint)
    • Line 248: warning: exported method CDisplayManager.DisplayCaptured should have comment or be unexported (golint)
    • Line 252: warning: exported method CDisplayManager.CaptureDisplay should have comment or be unexported (golint)
    • Line 279: warning: exported method CDisplayManager.ReleaseDisplay should have comment or be unexported (golint)
    • Line 291: warning: exported method CDisplayManager.IsMonochrome should have comment or be unexported (golint)
    • Line 295: warning: exported method CDisplayManager.Colors should have comment or be unexported (golint)
    • Line 303: warning: exported method CDisplayManager.CaptureCtrlC should have comment or be unexported (golint)
    • Line 309: warning: exported method CDisplayManager.ReleaseCtrlC should have comment or be unexported (golint)
    • Line 315: warning: exported method CDisplayManager.DefaultTheme should have comment or be unexported (golint)
    • Line 324: warning: exported method CDisplayManager.ActiveWindow should have comment or be unexported (golint)
    • Line 340: warning: exported method CDisplayManager.SetActiveWindow should have comment or be unexported (golint)
    • Line 351: warning: exported method CDisplayManager.AddWindow should have comment or be unexported (golint)
    • Line 367: warning: exported method CDisplayManager.RemoveWindow should have comment or be unexported (golint)
    • Line 376: warning: exported method CDisplayManager.AddWindowOverlay should have comment or be unexported (golint)
    • Line 383: warning: exported method CDisplayManager.RemoveWindowOverlay should have comment or be unexported (golint)
    • Line 395: warning: exported method CDisplayManager.GetWindows should have comment or be unexported (golint)
    • Line 402: warning: exported method CDisplayManager.GetWindowOverlays should have comment or be unexported (golint)
    • Line 411: warning: exported method CDisplayManager.GetWindowTopOverlay should have comment or be unexported (golint)
    • Line 420: warning: exported method CDisplayManager.GetWindowOverlayRegion should have comment or be unexported (golint)
    • Line 436: warning: exported method CDisplayManager.SetWindowOverlayRegion should have comment or be unexported (golint)
    • Line 459: warning: exported method CDisplayManager.App should have comment or be unexported (golint)
    • Line 463: warning: exported method CDisplayManager.SetEventFocus should have comment or be unexported (golint)
    • Line 475: warning: exported method CDisplayManager.GetEventFocus should have comment or be unexported (golint)
    • Line 480: warning: exported method CDisplayManager.GetPriorEvent should have comment or be unexported (golint)
    • Line 484: warning: exported method CDisplayManager.ProcessEvent should have comment or be unexported (golint)
    • Line 579: warning: exported method CDisplayManager.DrawScreen should have comment or be unexported (golint)
    • Line 612: warning: exported method CDisplayManager.RequestDraw should have comment or be unexported (golint)
    • Line 620: warning: exported method CDisplayManager.RequestShow should have comment or be unexported (golint)
    • Line 628: warning: exported method CDisplayManager.RequestSync should have comment or be unexported (golint)
    • Line 636: warning: exported method CDisplayManager.RequestQuit should have comment or be unexported (golint)
    • Line 644: warning: exported method CDisplayManager.AsyncCall should have comment or be unexported (golint)
    • Line 652: warning: exported method CDisplayManager.AwaitCall should have comment or be unexported (golint)
    • Line 667: warning: exported method CDisplayManager.PostEvent should have comment or be unexported (golint)
    • Line 721: warning: exported method CDisplayManager.AddQuitHandler should have comment or be unexported (golint)
    • Line 728: warning: exported method CDisplayManager.RemoveQuitHandler should have comment or be unexported (golint)
    • Line 734: warning: exported method CDisplayManager.Run should have comment or be unexported (golint)
    • Line 790: warning: exported method CDisplayManager.IsRunning should have comment or be unexported (golint)

gocyclo100%

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.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell97%

Misspell Finds commonly misspelled English words