Preparing report...

Report for github.com/dustismo/heavyfishdesign

A    Great!    Found 63 issues across 83 files

Tweet

gofmt93%

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!


gocyclo84%

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.

    • heavyfishdesign/dom/part_splitter.go
    • Line 175: warning: cyclomatic complexity 20 of function (*PartSplitter).TransformPart() is high (> 15) (gocyclo)
    • Line 15: warning: cyclomatic complexity 16 of function (*PartSplitter).transformPart() is high (> 15) (gocyclo)

golint32%

Golint is a linter for Go source code.

    • heavyfishdesign/path/segment_operators.go
    • Line 9: warning: comment on exported type SegmentOperators should be of the form "SegmentOperators ..." (with optional leading article) (golint)
    • Line 26: warning: exported type PointTransform should have comment or be unexported (golint)
    • Line 28: warning: exported type Curve should have comment or be unexported (golint)
    • Line 35: warning: exported type CurveOperators should have comment or be unexported (golint)
    • Line 44: warning: comment on exported type DefaultSegmentOperators should be of the form "DefaultSegmentOperators ..." (with optional leading article) (golint)
    • Line 51: warning: exported function NewSegmentOperators should have comment or be unexported (golint)
    • Line 58: warning: comment on exported type BezierCurveOperators should be of the form "BezierCurveOperators ..." (with optional leading article) (golint)
    • Line 64: warning: exported function NewBezierCurveOperators should have comment or be unexported (golint)
    • Line 70: warning: exported method DefaultSegmentOperators.TransformPoints should have comment or be unexported (golint)
    • Line 95: warning: exported method DefaultSegmentOperators.Move should have comment or be unexported (golint)
    • Line 102: warning: comment on exported method DefaultSegmentOperators.JoinLines should be of the form "JoinLines ..." (golint)
    • Line 133: warning: comment on exported method DefaultSegmentOperators.JoinLineAndCurve should be of the form "JoinLineAndCurve ..." (golint)
    • Line 184: warning: exported method DefaultSegmentOperators.JoinCurveAndLine should have comment or be unexported (golint)
    • Line 230: warning: exported method DefaultSegmentOperators.JoinCurves should have comment or be unexported (golint)
    • Line 270: warning: exported method DefaultSegmentOperators.Join should have comment or be unexported (golint)
    • Line 306: warning: exported method DefaultSegmentOperators.Reverse should have comment or be unexported (golint)
    • Line 333: warning: exported method DefaultSegmentOperators.BoundingBox should have comment or be unexported (golint)
    • Line 360: warning: exported method DefaultSegmentOperators.Intersect should have comment or be unexported (golint)
    • Line 404: warning: exported method DefaultSegmentOperators.Split should have comment or be unexported (golint)
    • Line 452: warning: exported method DefaultSegmentOperators.Offset should have comment or be unexported (golint)
    • Line 552: warning: exported method BezierCurveOperators.BoundingBox should have comment or be unexported (golint)
    • Line 558: warning: exported method BezierCurveOperators.IntersectLine should have comment or be unexported (golint)
    • Line 568: warning: comment on exported method BezierCurveOperators.IntersectProjectedLine should be of the form "IntersectProjectedLine ..." (golint)
    • Line 580: warning: exported method BezierCurveOperators.IntersectCurve should have comment or be unexported (golint)
    • Line 592: warning: exported method BezierCurveOperators.Split should have comment or be unexported (golint)
    • Line 606: warning: exported method BezierCurveOperators.Offset should have comment or be unexported (golint)
    • heavyfishdesign/dom/param_lookup.go
    • Line 11: warning: comment on exported type Attr should be of the form "Attr ..." (with optional leading article) (golint)
    • Line 22: warning: exported function NewAttr should have comment or be unexported (golint)
    • Line 29: warning: exported function NewAttrElement should have comment or be unexported (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 95: warning: exported method Attr.MustPoint should have comment or be unexported (golint)
    • Line 102: warning: exported method Attr.MustPoint2 should have comment or be unexported (golint)
    • Line 110: warning: comment on exported method Attr.Point2 should be of the form "Point2 ..." (golint)
    • Line 133: warning: comment on exported method Attr.ToPoint should be of the form "ToPoint ..." (golint)
    • Line 155: warning: exported method Attr.Point should have comment or be unexported (golint)
    • Line 220: warning: exported method Attr.MustString should have comment or be unexported (golint)
    • Line 228: warning: exported method Attr.MustHandle should have comment or be unexported (golint)
    • Line 236: warning: exported method Attr.Handle should have comment or be unexported (golint)
    • Line 249: warning: exported method Attr.SvgString should have comment or be unexported (golint)
    • Line 266: warning: exported method Attr.Bool should have comment or be unexported (golint)
    • Line 279: warning: exported method Attr.MustBool should have comment or be unexported (golint)
    • Line 287: warning: exported method Attr.MustInt should have comment or be unexported (golint)
    • Line 295: warning: exported method Attr.Int should have comment or be unexported (golint)
    • Line 303: warning: exported method Attr.MustFloat64 should have comment or be unexported (golint)
    • Line 310: warning: exported method Attr.Float64 should have comment or be unexported (golint)
    • Line 323: warning: comment on exported type DynMapParamLookerUpper should be of the form "DynMapParamLookerUpper ..." (with optional leading article) (golint)
    • Line 328: warning: exported method DynMapParamLookerUpper.Lookup should have comment or be unexported (golint)
    • Line 331: warning: exported method DynMapParamLookerUpper.ToFloat64 should have comment or be unexported (golint)
    • Line 337: warning: exported method DynMapParamLookerUpper.Float64 should have comment or be unexported (golint)
    • Line 341: warning: exported type BasicParamLookerUpper should have comment or be unexported (golint)
    • Line 399: warning: exported method BasicParamLookerUpper.Lookup should have comment or be unexported (golint)
    • Line 419: warning: exported method BasicParamLookerUpper.MustString should have comment or be unexported (golint)
    • Line 433: warning: exported method BasicParamLookerUpper.MustFloat64 should have comment or be unexported (golint)
    • Line 441: warning: comment on exported method BasicParamLookerUpper.ToFloat64 should be of the form "ToFloat64 ..." (golint)
    • Line 457: warning: exported method BasicParamLookerUpper.Float64 should have comment or be unexported (golint)
    • Line 470: warning: exported function FindElementByID should have comment or be unexported (golint)
    • heavyfishdesign/dom/repeat_component.go
    • Line 12: warning: exported type RepeatComponentFactory should have comment or be unexported (golint)
    • Line 14: warning: exported type RepeatComponent should have comment or be unexported (golint)
    • Line 19: warning: exported method RepeatComponentFactory.CreateComponent should have comment or be unexported (golint)
    • Line 39: warning: comment on exported method RepeatComponentFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 44: warning: exported function RepeatRender should have comment or be unexported (golint)
    • Line 107: warning: exported method RepeatComponent.Render should have comment or be unexported (golint)
    • heavyfishdesign/util/file.go
    • Line 9: warning: comment on exported function ClearDir should be of the form "ClearDir ..." (golint)
    • Line 27: warning: comment on exported function FileList should be of the form "FileList ..." (golint)
    • Line 48: warning: comment on exported function RelFileList should be of the form "RelFileList ..." (golint)
    • Line 71: warning: comment on exported function DirectoryList should be of the form "DirectoryList ..." (golint)
    • heavyfishdesign/transforms/scale.go
    • Line 9: warning: comment on exported type ScaleTransform should be of the form "ScaleTransform ..." (with optional leading article) (golint)
    • Line 22: warning: exported method ScaleTransform.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/bezier/utils.go
    • Line 5: warning: exported const MaxInt should have comment or be unexported (golint)
    • Line 6: warning: exported const MinInt should have comment or be unexported (golint)
    • Line 15: warning: comment on exported function Float64ArrayDeDup should be of the form "Float64ArrayDeDup ..." (golint)
    • Line 29: warning: comment on exported function StringArrayDeDup should be of the form "StringArrayDeDup ..." (golint)
    • Line 42: warning: comment on exported function Float64ArrayInsertIfAbsent should be of the form "Float64ArrayInsertIfAbsent ..." (golint)
    • Line 50: warning: exported function Float64ArrayContains should have comment or be unexported (golint)
    • heavyfishdesign/transforms/shift.go
    • Line 5: warning: comment on exported type ShiftTransform should be of the form "ShiftTransform ..." (with optional leading article) (golint)
    • Line 12: warning: exported method ShiftTransform.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/path/path.go
    • Line 12: warning: exported const DefaultPrecision should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type Point should have comment or be unexported (golint)
    • Line 23: warning: exported type Path should have comment or be unexported (golint)
    • Line 29: warning: exported type Segment should have comment or be unexported (golint)
    • Line 38: warning: exported type MoveSegment should have comment or be unexported (golint)
    • Line 43: warning: exported type LineSegment should have comment or be unexported (golint)
    • Line 48: warning: exported type CurveSegment should have comment or be unexported (golint)
    • Line 55: warning: exported function NewPath should have comment or be unexported (golint)
    • Line 60: warning: comment on exported function NewPathFromSegmentsWithoutMove should be of the form "NewPathFromSegmentsWithoutMove ..." (golint)
    • Line 71: warning: exported function NewPathFromSegments should have comment or be unexported (golint)
    • Line 89: warning: comment on exported function NewLineSegmentAngle should be of the form "NewLineSegmentAngle ..." (golint)
    • Line 100: warning: exported function SetSegmentStart should have comment or be unexported (golint)
    • Line 115: warning: exported function SvgString should have comment or be unexported (golint)
    • Line 123: warning: exported type PathImpl should have comment or be unexported (golint)
    • Line 127: warning: exported method PathImpl.SvgString should have comment or be unexported (golint)
    • Line 131: warning: exported method PathImpl.Segments should have comment or be unexported (golint)
    • Line 135: warning: exported method PathImpl.AddSegments should have comment or be unexported (golint)
    • Line 141: warning: exported method PathImpl.Clone should have comment or be unexported (golint)
    • Line 150: warning: exported method MoveSegment.Start should have comment or be unexported (golint)
    • Line 153: warning: exported method MoveSegment.SetStart should have comment or be unexported (golint)
    • Line 158: warning: exported method MoveSegment.End should have comment or be unexported (golint)
    • Line 162: warning: exported method MoveSegment.Clone should have comment or be unexported (golint)
    • Line 169: warning: exported method MoveSegment.SvgString should have comment or be unexported (golint)
    • Line 173: warning: exported method MoveSegment.UniqueString should have comment or be unexported (golint)
    • Line 181: warning: exported method LineSegment.Start should have comment or be unexported (golint)
    • Line 184: warning: exported method LineSegment.SetStart should have comment or be unexported (golint)
    • Line 188: warning: exported method LineSegment.End should have comment or be unexported (golint)
    • Line 192: warning: exported method LineSegment.Slope should have comment or be unexported (golint)
    • Line 198: warning: comment on exported method LineSegment.IsVerticalPrecision should be of the form "IsVerticalPrecision ..." (golint)
    • Line 206: warning: exported method LineSegment.IsHorizontalPrecision should have comment or be unexported (golint)
    • Line 212: warning: exported method LineSegment.YIntercept should have comment or be unexported (golint)
    • Line 217: warning: comment on exported method LineSegment.EvalX should be of the form "EvalX ..." (golint)
    • Line 222: warning: exported method LineSegment.Length should have comment or be unexported (golint)
    • Line 226: warning: comment on exported method LineSegment.PointAtDistance should be of the form "PointAtDistance ..." (golint)
    • Line 256: warning: comment on exported method LineSegment.Angle should be of the form "Angle ..." (golint)
    • Line 263: warning: exported method LineSegment.Clone should have comment or be unexported (golint)
    • Line 270: warning: exported method LineSegment.SvgString should have comment or be unexported (golint)
    • Line 274: warning: exported method LineSegment.UniqueString should have comment or be unexported (golint)
    • Line 283: warning: exported method CurveSegment.Start should have comment or be unexported (golint)
    • Line 287: warning: exported method CurveSegment.SetStart should have comment or be unexported (golint)
    • Line 292: warning: exported method CurveSegment.End should have comment or be unexported (golint)
    • Line 296: warning: exported method CurveSegment.Clone should have comment or be unexported (golint)
    • Line 305: warning: exported method CurveSegment.SvgString should have comment or be unexported (golint)
    • Line 315: warning: exported method CurveSegment.UniqueString should have comment or be unexported (golint)
    • Line 328: warning: exported method CurveSegment.ControlStart should have comment or be unexported (golint)
    • Line 332: warning: exported method CurveSegment.ControlEnd should have comment or be unexported (golint)
    • Line 336: warning: comment on exported function NewPoint should be of the form "NewPoint ..." (golint)
    • Line 349: warning: comment on exported function NewPointRounded should be of the form "NewPointRounded ..." (golint)
    • Line 356: warning: exported method Point.StringRounded should have comment or be unexported (golint)
    • Line 368: warning: exported method Point.StringPrecision should have comment or be unexported (golint)
    • Line 376: warning: comment on exported method Point.Equals should be of the form "Equals ..." (golint)
    • Line 382: warning: comment on exported method Point.EqualsPrecision should be of the form "EqualsPrecision ..." (golint)
    • Line 391: warning: exported method Point.Clone should have comment or be unexported (golint)
    • Line 395: warning: exported method Point.ToDynMap should have comment or be unexported (golint)
    • heavyfishdesign/path/path_parser.go
    • Line 12: warning: exported type SvgCommand should have comment or be unexported (golint)
    • Line 15: warning: comment on exported const Move should be of the form "Move ..." (golint)
    • Line 17: warning: exported const Line should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: comment on exported function ParsePathFromSvg should be of the form "ParsePathFromSvg ..." (golint)
    • heavyfishdesign/dom/document.go
    • Line 9: warning: exported type DocumentContext should have comment or be unexported (golint)
    • Line 14: warning: comment on exported method DocumentContext.CreateCustomComponent should be of the form "CreateCustomComponent ..." (golint)
    • Line 49: warning: comment on exported function FindDocumentContext should be of the form "FindDocumentContext ..." (golint)
    • Line 67: warning: comment on exported type Document should be of the form "Document ..." (with optional leading article) (golint)
    • Line 75: warning: comment on exported method Document.AllElements should be of the form "AllElements ..." (golint)
    • Line 84: warning: exported method Document.FindElementByID should have comment or be unexported (golint)
    • Line 90: warning: exported method Document.FindPartByID should have comment or be unexported (golint)
    • heavyfishdesign/dom/part.go
    • Line 11: warning: comment on exported type Part should be of the form "Part ..." (with optional leading article) (golint)
    • Line 18: warning: exported type Label should have comment or be unexported (golint)
    • Line 23: warning: exported type RenderedPart should have comment or be unexported (golint)
    • Line 31: warning: exported type PartTransformer should have comment or be unexported (golint)
    • Line 35: warning: comment on exported type PartFactory should be of the form "PartFactory ..." (with optional leading article) (golint)
    • Line 38: warning: exported method PartFactory.CreateComponent should have comment or be unexported (golint)
    • Line 63: warning: comment on exported method PartFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 68: warning: comment on exported method Part.Document should be of the form "Document ..." (golint)
    • Line 77: warning: exported method Part.RenderPart should have comment or be unexported (golint)
    • Line 142: warning: comment on exported method Part.Render should be of the form "Render ..." (golint)
    • heavyfishdesign/components/basic_edge.go
    • Line 12: warning: exported type BasicEdgeComponentFactory should have comment or be unexported (golint)
    • Line 14: warning: comment on exported type BasicEdgeComponent should be of the form "BasicEdgeComponent ..." (with optional leading article) (golint)
    • Line 21: warning: exported method BasicEdgeComponentFactory.CreateComponent should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method BasicEdgeComponentFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 47: warning: exported method BasicEdgeComponent.Render should have comment or be unexported (golint)
    • heavyfishdesign/transforms/matrix.go
    • Line 5: warning: comment on exported type MatrixTransform should be of the form "MatrixTransform ..." (with optional leading article) (golint)
    • Line 12: warning: exported method MatrixTransform.TransformPoint should have comment or be unexported (golint)
    • Line 18: warning: exported method MatrixTransform.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/transforms/rotate.go
    • Line 7: warning: exported type RotateTransform should have comment or be unexported (golint)
    • Line 13: warning: exported method RotateTransform.PathTransformWithAxis should have comment or be unexported (golint)
    • Line 53: warning: exported method RotateTransform.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/transforms/rebuild.go
    • Line 7: warning: exported type RebuildTransform should have comment or be unexported (golint)
    • Line 9: warning: comment on exported method RebuildTransform.PathTransform should be of the form "PathTransform ..." (golint)
    • heavyfishdesign/dom/app_context.go
    • Line 14: warning: exported type DocumentParser should have comment or be unexported (golint)
    • Line 18: warning: exported type FileLoader should have comment or be unexported (golint)
    • Line 22: warning: exported type SVGParser should have comment or be unexported (golint)
    • Line 26: warning: exported type ComponentFactory should have comment or be unexported (golint)
    • Line 32: warning: exported type TransformFactory should have comment or be unexported (golint)
    • Line 38: warning: exported type PartTransformerFactory should have comment or be unexported (golint)
    • Line 44: warning: exported type Factories should have comment or be unexported (golint)
    • Line 57: warning: comment on exported function AppContext should be of the form "AppContext ..." (golint)
    • Line 72: warning: exported method Factories.SetFileLoader should have comment or be unexported (golint)
    • Line 76: warning: exported method Factories.Init should have comment or be unexported (golint)
    • Line 102: warning: exported method Factories.AddTransformFactory should have comment or be unexported (golint)
    • Line 111: warning: exported method Factories.AddPartTransformerFactory should have comment or be unexported (golint)
    • Line 120: warning: exported method Factories.AddComponentFactory should have comment or be unexported (golint)
    • Line 128: warning: exported method Factories.Precision should have comment or be unexported (golint)
    • Line 131: warning: exported method Factories.SegmentOperators should have comment or be unexported (golint)
    • Line 135: warning: exported method Factories.FileLoader should have comment or be unexported (golint)
    • Line 139: warning: exported method Factories.DocumentParser should have comment or be unexported (golint)
    • Line 143: warning: exported method Factories.ParseSVG should have comment or be unexported (golint)
    • Line 147: warning: comment on exported method Factories.MakeComponent should be of the form "MakeComponent ..." (golint)
    • Line 168: warning: exported method Factories.MakeBasicElement should have comment or be unexported (golint)
    • Line 178: warning: exported method Factories.MakeBasicComponent should have comment or be unexported (golint)
    • Line 188: warning: exported method Factories.MakePartTransformer should have comment or be unexported (golint)
    • Line 197: warning: exported method Factories.MakeTransform should have comment or be unexported (golint)
    • Line 206: warning: exported method Factories.MakeComponents should have comment or be unexported (golint)
    • Line 218: warning: comment on exported method Factories.MakeTransforms should be of the form "MakeTransforms ..." (golint)
    • Line 231: warning: exported method Factories.MakePartTransformers should have comment or be unexported (golint)
    • Line 252: warning: exported function ParseDocumentFromPath should have comment or be unexported (golint)
    • Line 261: warning: comment on exported function ParseToHFDMap should be of the form "ParseToHFDMap ..." (golint)
    • Line 268: warning: exported function ParseDocumentFromJson should have comment or be unexported (golint)
    • Line 276: warning: exported function ParseDocument should have comment or be unexported (golint)
    • heavyfishdesign/dom/planset.go
    • Line 8: warning: comment on exported type PlanSet should be of the form "PlanSet ..." (with optional leading article) (golint)
    • Line 19: warning: exported function NewPlanSet should have comment or be unexported (golint)
    • Line 25: warning: comment on exported method PlanSet.Document should be of the form "Document ..." (golint)
    • Line 46: warning: exported method PlanSet.SVGDocuments should have comment or be unexported (golint)
    • Line 75: warning: exported method PlanSet.InitWithPartsFilter should have comment or be unexported (golint)
    • Line 106: warning: exported method PlanSet.Init should have comment or be unexported (golint)
    • Line 124: warning: comment on exported method PlanSet.RenderZip should be of the form "RenderZip ..." (golint)
    • Line 125: warning: receiver name ps should be consistent with previous receiver name p for PlanSet (golint)
    • heavyfishdesign/main.go
    • Line 21: warning: exported var FileExtension should have comment or be unexported (golint)
    • Line 143: warning: exported function CompareDirectories should have comment or be unexported (golint)
    • Line 201: warning: exported function IsEqualDiff should have comment or be unexported (golint)
    • Line 211: warning: comment on exported function CreateDir should be of the form "CreateDir ..." (golint)
    • Line 216: warning: exported function RenderAll should have comment or be unexported (golint)
    • Line 306: warning: comment on exported function IsDir should be of the form "IsDir ..." (golint)
    • heavyfishdesign/dynmap/dynmap.go
    • Line 14: warning: comment on exported type DynMap should be of the form "DynMap ..." (with optional leading article) (golint)
    • Line 20: warning: exported type DynMaper should have comment or be unexported (golint)
    • Line 24: warning: exported function Wrap should have comment or be unexported (golint)
    • Line 28: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 33: warning: exported function ParseJSON should have comment or be unexported (golint)
    • Line 41: warning: comment on exported function PrettyJSON should be of the form "PrettyJSON ..." (golint)
    • Line 51: warning: comment on exported function Convert should be of the form "Convert ..." (golint)
    • Line 62: warning: comment on exported method DynMap.ConvertTo should be of the form "ConvertTo ..." (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: comment on exported method DynMap.Flatten should be of the form "Flatten ..." (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: warning: comment on exported method DynMap.UnFlatten should be of the form "UnFlatten ..." (golint)
    • Line 126: warning: comment on exported method DynMap.ToMap should be of the form "ToMap ..." (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 140: warning: comment on exported method DynMap.ToDynMap should be of the form "ToDynMap ..." (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 145: warning: comment on exported method DynMap.Clone should be of the form "Clone ..." (golint)
    • Line 150: warning: comment on exported method DynMap.Merge should be of the form "Merge ..." (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: comment on exported method DynMap.MarshalUrl should be of the form "MarshalUrl ..." (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 186: warning: comment on exported method DynMap.UnmarshalUrl should be of the form "UnmarshalUrl ..." (golint)
    • Line 188: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 198: warning: comment on exported method DynMap.UnmarshalUrlValues should be of the form "UnmarshalUrlValues ..." (golint)
    • Line 200: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 216: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 241: warning: exported method DynMap.MarshalJSON should have comment or be unexported (golint)
    • Line 241: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 246: warning: comment on exported method DynMap.ToJSON should be of the form "ToJSON ..." (golint)
    • Line 249: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: exported method DynMap.UnmarshalJSON should have comment or be unexported (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 258: warning: exported method DynMap.Length should have comment or be unexported (golint)
    • Line 258: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 262: warning: exported method DynMap.IsEmpty should have comment or be unexported (golint)
    • Line 262: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 266: warning: comment on exported method DynMap.GetInt64 should be of the form "GetInt64 ..." (golint)
    • Line 267: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 279: warning: exported method DynMap.MustInt64 should have comment or be unexported (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 287: warning: exported method DynMap.MustInt should have comment or be unexported (golint)
    • Line 287: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 295: warning: exported method DynMap.GetInt should have comment or be unexported (golint)
    • Line 295: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 303: warning: exported method DynMap.GetFloat64 should have comment or be unexported (golint)
    • Line 303: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 315: warning: exported method DynMap.MustFloat64 should have comment or be unexported (golint)
    • Line 315: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 323: warning: exported method DynMap.Contains should have comment or be unexported (golint)
    • Line 323: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 328: warning: exported method DynMap.ContainsAll should have comment or be unexported (golint)
    • Line 328: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 337: warning: exported method DynMap.ContainsString should have comment or be unexported (golint)
    • Line 337: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 342: warning: exported method DynMap.ContainsDynMap should have comment or be unexported (golint)
    • Line 342: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 347: warning: comment on exported method DynMap.GetString should be of the form "GetString ..." (golint)
    • Line 350: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 362: warning: comment on exported method DynMap.MustString should be of the form "MustString ..." (golint)
    • Line 364: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 372: warning: exported method DynMap.GetTime should have comment or be unexported (golint)
    • Line 372: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 384: warning: exported method DynMap.MustTime should have comment or be unexported (golint)
    • Line 384: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 392: warning: exported method DynMap.GetBool should have comment or be unexported (golint)
    • Line 392: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 404: warning: exported method DynMap.MustBool should have comment or be unexported (golint)
    • Line 404: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 412: warning: comment on exported method DynMap.GetDynMap should be of the form "GetDynMap ..." (golint)
    • Line 415: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 424: warning: exported method DynMap.MustDynMap should have comment or be unexported (golint)
    • Line 424: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 432: warning: comment on exported method DynMap.GetDynMapSlice should be of the form "GetDynMapSlice ..." (golint)
    • Line 433: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 455: warning: comment on exported method DynMap.GetIntSlice should be of the form "GetIntSlice ..." (golint)
    • Line 456: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 478: warning: comment on exported method DynMap.GetIntSliceSplit should be of the form "GetIntSliceSplit ..." (golint)
    • Line 480: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 501: warning: exported method DynMap.MustStringSlice should have comment or be unexported (golint)
    • Line 501: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 509: warning: exported method DynMap.MustDynMapSlice should have comment or be unexported (golint)
    • Line 509: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 517: warning: comment on exported method DynMap.GetStringSlice should be of the form "GetStringSlice ..." (golint)
    • Line 518: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 537: warning: comment on exported method DynMap.GetStringSliceSplit should be of the form "GetStringSliceSplit ..." (golint)
    • Line 539: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 552: warning: comment on exported method DynMap.AddToSlice should be of the form "AddToSlice ..." (golint)
    • Line 553: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 564: warning: comment on exported method DynMap.AddToSliceWithDot should be of the form "AddToSliceWithDot ..." (golint)
    • Line 565: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 576: warning: comment on exported method DynMap.PutAll should be of the form "PutAll ..." (golint)
    • Line 579: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 590: warning: comment on exported method DynMap.PutIfAbsent should be of the form "PutIfAbsent ..." (golint)
    • Line 594: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 603: warning: comment on exported method DynMap.PutIfAbsentWithDot should be of the form "PutIfAbsentWithDot ..." (golint)
    • Line 606: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 615: warning: comment on exported method DynMap.Put should be of the form "Put ..." (golint)
    • Line 618: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 622: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 627: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 632: warning: comment on exported method DynMap.PutWithDot should be of the form "PutWithDot ..." (golint)
    • Line 640: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 667: warning: exported method DynMap.Exists should have comment or be unexported (golint)
    • Line 667: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 672: warning: exported method DynMap.RemoveAll should have comment or be unexported (golint)
    • Line 679: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 700: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 711: warning: exported method DynMap.Must should have comment or be unexported (golint)
    • Line 711: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 719: warning: comment on exported method DynMap.Get should be of the form "Get ..." (golint)
    • Line 725: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 745: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • heavyfishdesign/path/attributes.go
    • Line 10: warning: comment on exported type PathAttr should be of the form "PathAttr ..." (with optional leading article) (golint)
    • Line 14: warning: comment on exported const TopLeft should be of the form "TopLeft ..." (golint)
    • Line 17: warning: exported const TopRight should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: comment on exported const StartPoint should be of the form "StartPoint ..." (golint)
    • Line 30: warning: comment on exported const Cursor should be of the form "Cursor ..." (golint)
    • Line 33: warning: comment on exported const StartPosition should be of the form "StartPosition ..." (golint)
    • Line 65: warning: exported function ToPathAttrFromPoint should have comment or be unexported (golint)
    • Line 69: warning: exported function ToPathAttr should have comment or be unexported (golint)
    • Line 82: warning: exported function PointPathAttribute should have comment or be unexported (golint)
    • Line 113: warning: exported function PathAttribute should have comment or be unexported (golint)
    • heavyfishdesign/dom/transform_factories.go
    • Line 31: warning: exported type CleanupTransformFactory should have comment or be unexported (golint)
    • Line 34: warning: exported method CleanupTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 41: warning: comment on exported method CleanupTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 46: warning: exported type RotateTransformFactory should have comment or be unexported (golint)
    • Line 49: warning: exported method RotateTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 63: warning: comment on exported method RotateTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 68: warning: exported type ReorderTransformFactory should have comment or be unexported (golint)
    • Line 71: warning: exported method ReorderTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 78: warning: comment on exported method ReorderTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 79: warning: receiver name cf should be consistent with previous receiver name tf for ReorderTransformFactory (golint)
    • Line 83: warning: exported type ReverseTransformFactory should have comment or be unexported (golint)
    • Line 86: warning: exported method ReverseTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 90: warning: comment on exported method ReverseTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 91: warning: receiver name cf should be consistent with previous receiver name tf for ReverseTransformFactory (golint)
    • Line 95: warning: exported type JoinTransformFactory should have comment or be unexported (golint)
    • Line 98: warning: exported method JoinTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 107: warning: comment on exported method JoinTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 108: warning: receiver name cf should be consistent with previous receiver name tf for JoinTransformFactory (golint)
    • Line 112: warning: exported type OffsetTransformFactory should have comment or be unexported (golint)
    • Line 115: warning: exported method OffsetTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 141: warning: comment on exported method OffsetTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 146: warning: exported type MoveTransformFactory should have comment or be unexported (golint)
    • Line 149: warning: exported method MoveTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 164: warning: comment on exported method MoveTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 169: warning: exported type TrimTransformFactory should have comment or be unexported (golint)
    • Line 172: warning: exported method TrimTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 178: warning: comment on exported method TrimTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 183: warning: exported type SliceTransformFactory should have comment or be unexported (golint)
    • Line 186: warning: comment on exported method SliceTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 190: warning: exported method SliceTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 203: warning: exported type ScaleTransformFactory should have comment or be unexported (golint)
    • Line 206: warning: comment on exported method ScaleTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 210: warning: exported method ScaleTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 233: warning: exported type MirrorTransformFactory should have comment or be unexported (golint)
    • Line 237: warning: exported method MirrorTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 250: warning: comment on exported method MirrorTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 255: warning: exported type RotateScaleTransformFactory should have comment or be unexported (golint)
    • Line 258: warning: comment on exported method RotateScaleTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • Line 262: warning: exported method RotateScaleTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 274: warning: exported type MatrixTransformFactory should have comment or be unexported (golint)
    • Line 278: warning: exported method MatrixTransformFactory.CreateTransform should have comment or be unexported (golint)
    • Line 318: warning: comment on exported method MatrixTransformFactory.TransformTypes should be of the form "TransformTypes ..." (golint)
    • heavyfishdesign/transforms/join.go
    • Line 7: warning: comment on exported type JoinTransform should be of the form "JoinTransform ..." (with optional leading article) (golint)
    • Line 125: warning: exported method JoinTransform.PathTransform should have comment or be unexported (golint)
    • Line 155: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 160: warning: exported type SimpleJoin should have comment or be unexported (golint)
    • Line 163: warning: exported method SimpleJoin.JoinPaths should have comment or be unexported (golint)
    • heavyfishdesign/transforms/mirror.go
    • Line 7: warning: exported type Axis should have comment or be unexported (golint)
    • Line 10: warning: exported const Horizontal should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: comment on exported type MirrorTransform should be of the form "MirrorTransform ..." (with optional leading article) (golint)
    • Line 21: warning: exported method MirrorTransform.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/transforms/rotate_scale.go
    • Line 9: warning: comment on exported type RotateScaleTransform should be of the form "RotateScaleTransform ..." (with optional leading article) (golint)
    • Line 44: warning: exported method RotateScaleTransform.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/binpacking/binpacking.go
    • Line 7: warning: exported type BinBoundary should have comment or be unexported (golint)
    • Line 12: warning: exported type Bin should have comment or be unexported (golint)
    • Line 26: warning: exported type Container should have comment or be unexported (golint)
    • Line 48: warning: exported function NewContainer should have comment or be unexported (golint)
    • Line 58: warning: comment on exported function NewSingleObjectContainer should be of the form "NewSingleObjectContainer ..." (golint)
    • Line 67: warning: comment on exported method Container.GetEmptyBins should be of the form "GetEmptyBins ..." (golint)
    • Line 73: warning: comment on exported method Container.GetEmptyArea should be of the form "GetEmptyArea ..." (golint)
    • Line 82: warning: exported method Container.IsEmpty should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method Container.Insert should be of the form "Insert ..." (golint)
    • Line 97: warning: comment on exported method Container.InsertWithPadding should be of the form "InsertWithPadding ..." (golint)
    • Line 118: warning: exported function NewBin should have comment or be unexported (golint)
    • Line 144: warning: comment on exported method Bin.IsHorizontalSplit should be of the form "IsHorizontalSplit ..." (golint)
    • Line 155: warning: comment on exported method Bin.Insert should be of the form "Insert ..." (golint)
    • heavyfishdesign/transforms/dedup.go
    • Line 7: warning: exported type DedupSegmentsTransform should have comment or be unexported (golint)
    • Line 53: warning: comment on exported method DedupSegmentsTransform.PathTransform should be of the form "PathTransform ..." (golint)
    • heavyfishdesign/transforms/move.go
    • Line 7: warning: comment on exported type MoveTransform should be of the form "MoveTransform ..." (with optional leading article) (golint)
    • Line 16: warning: exported method MoveTransform.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/path/draw.go
    • Line 8: warning: comment on exported type Draw should be of the form "Draw ..." (with optional leading article) (golint)
    • Line 13: warning: exported function NewDraw should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method Draw.Path should be of the form "Path ..." (golint)
    • Line 26: warning: exported method Draw.CurrentPosition should have comment or be unexported (golint)
    • Line 34: warning: exported method Draw.AddSegments should have comment or be unexported (golint)
    • Line 40: warning: comment on exported method Draw.AddSegment should be of the form "AddSegment ..." (golint)
    • Line 66: warning: exported method Draw.MoveTo should have comment or be unexported (golint)
    • Line 73: warning: exported method Draw.ToAbsPosition should have comment or be unexported (golint)
    • Line 81: warning: comment on exported method Draw.RelMoveTo should be of the form "RelMoveTo ..." (golint)
    • Line 88: warning: comment on exported method Draw.RelSmoothCurveTo should be of the form "RelSmoothCurveTo ..." (golint)
    • Line 96: warning: comment on exported method Draw.SmoothCurveTo should be of the form "SmoothCurveTo ..." (golint)
    • Line 118: warning: comment on exported method Draw.RelQCurveTo should be of the form "RelQCurveTo ..." (golint)
    • Line 126: warning: comment on exported method Draw.QCurveTo should be of the form "QCurveTo ..." (golint)
    • Line 146: warning: comment on exported method Draw.RelCurveTo should be of the form "RelCurveTo ..." (golint)
    • Line 156: warning: comment on exported method Draw.CurveTo should be of the form "CurveTo ..." (golint)
    • Line 168: warning: comment on exported method Draw.RelLineTo should be of the form "RelLineTo ..." (golint)
    • Line 174: warning: comment on exported method Draw.LineTo should be of the form "LineTo ..." (golint)
    • Line 183: warning: comment on exported method Draw.LineByAngle should be of the form "LineByAngle ..." (golint)
    • Line 188: warning: exported method Draw.RelRoundedCornerTo should have comment or be unexported (golint)
    • Line 194: warning: comment on exported method Draw.RoundedCornerTo should be of the form "RoundedCornerTo ..." (golint)
    • Line 230: warning: comment on exported method Draw.Circle should be of the form "Circle ..." (golint)
    • Line 243: warning: comment on exported method Draw.Rect should be of the form "Rect ..." (golint)
    • Line 251: warning: comment on exported method Draw.RelHLineTo should be of the form "RelHLineTo ..." (golint)
    • Line 256: warning: comment on exported method Draw.HLineTo should be of the form "HLineTo ..." (golint)
    • Line 261: warning: comment on exported method Draw.RelVLineTo should be of the form "RelVLineTo ..." (golint)
    • Line 266: warning: comment on exported method Draw.VLineTo should be of the form "VLineTo ..." (golint)
    • Line 271: warning: comment on exported method Draw.SvgPath should be of the form "SvgPath ..." (golint)
    • heavyfishdesign/dom/part_transform_factories.go
    • Line 7: warning: exported type PartSplitterTransformerFactory should have comment or be unexported (golint)
    • Line 9: warning: exported method PartSplitterTransformerFactory.CreateTransformer should have comment or be unexported (golint)
    • Line 13: warning: comment on exported method PartSplitterTransformerFactory.TransformerTypes should be of the form "TransformerTypes ..." (golint)
    • Line 14: warning: receiver name cf should be consistent with previous receiver name pf for PartSplitterTransformerFactory (golint)
    • Line 18: warning: exported type PartLatheTransformerFactory should have comment or be unexported (golint)
    • Line 20: warning: exported method PartLatheTransformerFactory.CreateTransformer should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method PartLatheTransformerFactory.TransformerTypes should be of the form "TransformerTypes ..." (golint)
    • Line 25: warning: receiver name cf should be consistent with previous receiver name pf for PartLatheTransformerFactory (golint)
    • heavyfishdesign/components/around.go
    • Line 12: warning: exported type AroundComponentFactory should have comment or be unexported (golint)
    • Line 14: warning: exported type AroundComponent should have comment or be unexported (golint)
    • Line 19: warning: exported method AroundComponentFactory.CreateComponent should have comment or be unexported (golint)
    • Line 44: warning: comment on exported method AroundComponentFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 49: warning: exported method AroundComponent.Render should have comment or be unexported (golint)
    • heavyfishdesign/transforms/slice.go
    • Line 7: warning: comment on exported type HSliceTransform should be of the form "HSliceTransform ..." (with optional leading article) (golint)
    • Line 15: warning: exported method HSliceTransform.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/dom/group_component.go
    • Line 9: warning: exported type GroupComponentFactory should have comment or be unexported (golint)
    • Line 11: warning: exported type GroupComponent should have comment or be unexported (golint)
    • Line 17: warning: exported method GroupComponentFactory.CreateComponent should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method GroupComponentFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 43: warning: exported method GroupComponent.Children should have comment or be unexported (golint)
    • Line 47: warning: exported method GroupComponent.Render should have comment or be unexported (golint)
    • heavyfishdesign/components/gear.go
    • Line 12: warning: exported type GearComponentFactory should have comment or be unexported (golint)
    • Line 14: warning: comment on exported type GearComponent should be of the form "GearComponent ..." (with optional leading article) (golint)
    • Line 21: warning: exported method GearComponentFactory.CreateComponent should have comment or be unexported (golint)
    • Line 31: warning: comment on exported method GearComponentFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 36: warning: exported method GearComponent.Render should have comment or be unexported (golint)
    • heavyfishdesign/dom/common.go
    • Line 9: warning: exported type Units should have comment or be unexported (golint)
    • Line 14: warning: exported method Units.FromInch should have comment or be unexported (golint)
    • Line 23: warning: exported method Units.FromMM should have comment or be unexported (golint)
    • Line 32: warning: exported var MilliMeters should have comment or be unexported (golint)
    • Line 35: warning: exported var Inches should have comment or be unexported (golint)
    • Line 39: warning: comment on exported function NewUnits should be of the form "NewUnits ..." (golint)
    • Line 54: warning: exported function MustUnits should have comment or be unexported (golint)
    • Line 62: warning: exported function MMToInch should have comment or be unexported (golint)
    • Line 66: warning: exported function InchToMM should have comment or be unexported (golint)
    • Line 70: warning: comment on exported function ComponentsToDynMap should be of the form "ComponentsToDynMap ..." (golint)
    • heavyfishdesign/dom/svg_renderer.go
    • Line 13: warning: comment on exported type OversizeStrategy should be of the form "OversizeStrategy ..." (with optional leading article) (golint)
    • Line 18: warning: comment on exported const Split should be of the form "Split ..." (golint)
    • Line 20: warning: comment on exported const Spill should be of the form "Spill ..." (golint)
    • Line 24: warning: comment on exported type RenderStrategy should be of the form "RenderStrategy ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported const MultiDocument should be of the form "MultiDocument ..." (golint)
    • Line 31: warning: comment on exported const ResizeDocument should be of the form "ResizeDocument ..." (golint)
    • Line 44: warning: comment on exported type SVGDocument should be of the form "SVGDocument ..." (with optional leading article) (golint)
    • Line 133: warning: comment on exported function NewSVGDocument should be of the form "NewSVGDocument ..." (golint)
    • Line 163: warning: comment on exported method SVGDocument.Clone should be of the form "Clone ..." (golint)
    • Line 200: warning: comment on exported method SVGDocument.WriteSVG should be of the form "WriteSVG ..." (golint)
    • Line 209: warning: comment on exported method SVGDocument.Add should be of the form "Add ..." (golint)
    • Line 258: warning: exported method SVGDocument.Parts should have comment or be unexported (golint)
    • heavyfishdesign/parser/parser.go
    • Line 13: warning: exported type DefaultDocumentParser should have comment or be unexported (golint)
    • Line 16: warning: exported function InitContext should have comment or be unexported (golint)
    • Line 57: warning: exported function NewDocumentParser should have comment or be unexported (golint)
    • Line 61: warning: exported method DefaultDocumentParser.Parse should have comment or be unexported (golint)
    • Line 66: warning: exported method DefaultDocumentParser.LoadBytes should have comment or be unexported (golint)
    • heavyfishdesign/path/util.go
    • Line 9: warning: exported const MaxInt should have comment or be unexported (golint)
    • Line 10: warning: exported const MinInt should have comment or be unexported (golint)
    • Line 12: warning: comment on exported function IsPoint00 should be of the form "IsPoint00 ..." (golint)
    • Line 17: warning: comment on exported function KnifeCut should be of the form "KnifeCut ..." (golint)
    • Line 45: warning: comment on exported function HorizontalIntercepts should be of the form "HorizontalIntercepts ..." (golint)
    • Line 78: warning: exported function BoundingBoxTrimWhitespace should have comment or be unexported (golint)
    • Line 83: warning: comment on exported function BoundingBoxWithWhitespace should be of the form "BoundingBoxWithWhitespace ..." (golint)
    • Line 145: warning: comment on exported function Tail should be of the form "Tail ..." (golint)
    • Line 153: warning: comment on exported function TrimLast should be of the form "TrimLast ..." (golint)
    • Line 161: warning: exported function TrimFirst should have comment or be unexported (golint)
    • Line 168: warning: comment on exported function PathCursor should be of the form "PathCursor ..." (golint)
    • Line 174: warning: exported function HeadMove should have comment or be unexported (golint)
    • Line 188: warning: comment on exported function TrimTailMove should be of the form "TrimTailMove ..." (golint)
    • Line 199: warning: comment on exported function TrimMove should be of the form "TrimMove ..." (golint)
    • Line 210: warning: comment on exported function FixHeadMove should be of the form "FixHeadMove ..." (golint)
    • Line 224: warning: comment on exported function IsMove should be of the form "IsMove ..." (golint)
    • Line 238: warning: comment on exported function Parallel should be of the form "Parallel ..." (golint)
    • Line 260: warning: exported function PrecisionPointInBoundingBox should have comment or be unexported (golint)
    • Line 267: warning: comment on exported function PointInBoundingBox should be of the form "PointInBoundingBox ..." (golint)
    • Line 274: warning: comment on exported function LineIntersection should be of the form "LineIntersection ..." (golint)
    • Line 308: warning: comment on exported function Float64ArrayDeDup should be of the form "Float64ArrayDeDup ..." (golint)
    • Line 322: warning: comment on exported function StringArrayDeDup should be of the form "StringArrayDeDup ..." (golint)
    • Line 335: warning: comment on exported function Float64ArrayInsertIfAbsent should be of the form "Float64ArrayInsertIfAbsent ..." (golint)
    • Line 343: warning: exported function Float64ArrayContains should have comment or be unexported (golint)
    • Line 352: warning: comment on exported function GetStartAndEnd should be of the form "GetStartAndEnd ..." (golint)
    • Line 371: warning: comment on exported function PrecisionCompare should be of the form "PrecisionCompare ..." (golint)
    • Line 384: warning: comment on exported function PrecisionEquals should be of the form "PrecisionEquals ..." (golint)
    • Line 395: warning: comment on exported function SplitPathOnMove should be of the form "SplitPathOnMove ..." (golint)
    • Line 415: warning: comment on exported function IsEmptyPath should be of the form "IsEmptyPath ..." (golint)
    • Line 425: warning: comment on exported function StringElipses should be of the form "StringElipses ..." (golint)
    • Line 434: warning: exported function DegreesToRadians should have comment or be unexported (golint)
    • Line 438: warning: exported function PolarToCartesian should have comment or be unexported (golint)
    • heavyfishdesign/dynmap/sort.go
    • Line 9: warning: exported type DynMapSlice should have comment or be unexported (golint)
    • Line 15: warning: exported function NewDynMapSlice should have comment or be unexported (golint)
    • Line 22: warning: exported function Sort should have comment or be unexported (golint)
    • Line 67: warning: comment on exported function Less should be of the form "Less ..." (golint)
    • Line 91: warning: comment on exported function ToSortVal should be of the form "ToSortVal ..." (golint)
    • heavyfishdesign/path/transforms.go
    • Line 3: warning: comment on exported type PathTransform should be of the form "PathTransform ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type SegmentTransform should be of the form "SegmentTransform ..." (with optional leading article) (golint)
    • Line 13: warning: exported type Params should have comment or be unexported (golint)
    • Line 17: warning: comment on exported function MultiTransform should be of the form "MultiTransform ..." (golint)
    • heavyfishdesign/transforms/reverse.go
    • Line 7: warning: exported type SegmentReverse should have comment or be unexported (golint)
    • Line 10: warning: exported type PathReverse should have comment or be unexported (golint)
    • Line 13: warning: comment on exported method SegmentReverse.SegmentTransform should be of the form "SegmentTransform ..." (golint)
    • Line 42: warning: exported method PathReverse.PathTransform should have comment or be unexported (golint)
    • heavyfishdesign/components/xintercept.go
    • Line 12: warning: exported type XInterceptComponentFactory should have comment or be unexported (golint)
    • Line 14: warning: exported type XInterceptComponent should have comment or be unexported (golint)
    • Line 20: warning: exported method XInterceptComponentFactory.CreateComponent should have comment or be unexported (golint)
    • Line 54: warning: comment on exported method XInterceptComponentFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 59: warning: exported method XInterceptComponent.Render should have comment or be unexported (golint)
    • heavyfishdesign/transforms/offset.go
    • Line 7: warning: exported type SizeShouldBe should have comment or be unexported (golint)
    • Line 10: warning: exported const Unknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type OffsetTransform should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method OffsetTransform.PathTransform should be of the form "PathTransform ..." (golint)
    • heavyfishdesign/parser/svgparser.go
    • Line 20: warning: exported type SVGParser should have comment or be unexported (golint)
    • Line 23: warning: exported type SVGNormalizer should have comment or be unexported (golint)
    • Line 27: warning: comment on exported method SVGNormalizer.SVGNormalize should be of the form "SVGNormalize ..." (golint)
    • Line 76: warning: comment on exported method SVGParser.ParseSVG should be of the form "ParseSVG ..." (golint)
    • Line 97: warning: comment on exported function ElementToPath should be of the form "ElementToPath ..." (golint)
    • heavyfishdesign/bezier/bezier.go
    • Line 12: warning: exported type CubicCurve should have comment or be unexported (golint)
    • Line 19: warning: exported type Point should have comment or be unexported (golint)
    • Line 24: warning: exported function NewPoint should have comment or be unexported (golint)
    • Line 59: warning: comment on exported function DeCasteljau should be of the form "DeCasteljau ..." (golint)
    • Line 97: warning: exported function SplitCurve should have comment or be unexported (golint)
    • Line 144: warning: comment on exported function SplitCurveSection should be of the form "SplitCurveSection ..." (golint)
    • Line 187: warning: comment on exported function Derivative should be of the form "Derivative ..." (golint)
    • Line 233: warning: comment on exported function FindPoint should be of the form "FindPoint ..." (golint)
    • Line 351: warning: exported type ValuePair should have comment or be unexported (golint)
    • Line 360: warning: comment on exported function ValuePairDedup should be of the form "ValuePairDedup ..." (golint)
    • Line 421: warning: exported function Align should have comment or be unexported (golint)
    • Line 435: warning: exported function Approximately should have comment or be unexported (golint)
    • Line 440: warning: comment on exported function Approx should be of the form "Approx ..." (golint)
    • Line 445: warning: comment on exported function Crt should be of the form "Crt ..." (golint)
    • Line 449: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 454: warning: exported function Roots should have comment or be unexported (golint)
    • Line 546: warning: comment on exported function IntersectsSelf should be of the form "IntersectsSelf ..." (golint)
    • Line 577: warning: comment on exported function IntersectsLine should be of the form "IntersectsLine ..." (golint)
    • Line 603: warning: exported function IntersectsProjectedLine should have comment or be unexported (golint)
    • Line 608: warning: comment on exported function IntersectsCurve should be of the form "IntersectsCurve ..." (golint)
    • Line 640: warning: exported function Between should have comment or be unexported (golint)
    • Line 644: warning: comment on exported function CurveOverlaps should be of the form "CurveOverlaps ..." (golint)
    • Line 651: warning: comment on exported function Project should be of the form "Project ..." (golint)
    • Line 689: warning: exported function BoundingBoxOverlaps should have comment or be unexported (golint)
    • Line 714: warning: comment on exported function BoundingBox should be of the form "BoundingBox ..." (golint)
    • Line 893: warning: comment on exported function OffsetPoint should be of the form "OffsetPoint ..." (golint)
    • Line 905: warning: comment on exported function Offset should be of the form "Offset ..." (golint)
    • Line 939: warning: comment on exported function IsClockwise should be of the form "IsClockwise ..." (golint)
    • Line 950: warning: exported function Scale should have comment or be unexported (golint)
    • Line 954: warning: comment on exported function ScaleByFunc should be of the form "ScaleByFunc ..." (golint)
    • heavyfishdesign/dom/models.go
    • Line 10: warning: exported type Element should have comment or be unexported (golint)
    • Line 36: warning: exported type Component should have comment or be unexported (golint)
    • Line 58: warning: exported type ParamLookerUpper should have comment or be unexported (golint)
    • Line 70: warning: exported type BasicElement should have comment or be unexported (golint)
    • Line 79: warning: exported method BasicElement.Id should have comment or be unexported (golint)
    • Line 85: warning: exported method BasicElement.ElementType should have comment or be unexported (golint)
    • Line 88: warning: exported method BasicElement.ToDynMap should have comment or be unexported (golint)
    • Line 91: warning: exported method BasicElement.Params should have comment or be unexported (golint)
    • Line 98: warning: exported method BasicElement.Defaults should have comment or be unexported (golint)
    • Line 106: warning: exported method BasicElement.ParamLookerUpper should have comment or be unexported (golint)
    • Line 110: warning: comment on exported method BasicElement.SetLocalVariable should be of the form "SetLocalVariable ..." (golint)
    • Line 116: warning: comment on exported method BasicElement.SetGlobalVariable should be of the form "SetGlobalVariable ..." (golint)
    • Line 122: warning: comment on exported method BasicElement.Attr should be of the form "Attr ..." (golint)
    • Line 128: warning: comment on exported method BasicElement.DmAttr should be of the form "DmAttr ..." (golint)
    • Line 136: warning: comment on exported type BasicComponent should be of the form "BasicComponent ..." (with optional leading article) (golint)
    • Line 151: warning: exported method BasicComponent.Id should have comment or be unexported (golint)
    • Line 157: warning: exported method BasicComponent.ElementType should have comment or be unexported (golint)
    • Line 160: warning: exported method BasicComponent.ToDynMap should have comment or be unexported (golint)
    • Line 163: warning: exported method BasicComponent.Params should have comment or be unexported (golint)
    • Line 169: warning: exported method BasicComponent.Defaults should have comment or be unexported (golint)
    • Line 177: warning: comment on exported method BasicComponent.SetLocalVariable should be of the form "SetLocalVariable ..." (golint)
    • Line 183: warning: comment on exported method BasicComponent.SetGlobalVariable should be of the form "SetGlobalVariable ..." (golint)
    • Line 189: warning: exported method BasicComponent.ParamLookerUpper should have comment or be unexported (golint)
    • Line 193: warning: comment on exported method BasicComponent.Attr should be of the form "Attr ..." (golint)
    • Line 199: warning: comment on exported method BasicComponent.DmAttr should be of the form "DmAttr ..." (golint)
    • Line 213: warning: exported method BasicComponent.RenderStart should have comment or be unexported (golint)
    • Line 218: warning: exported method BasicComponent.SetChildren should have comment or be unexported (golint)
    • Line 222: warning: comment on exported method BasicComponent.SetComponents should be of the form "SetComponents ..." (golint)
    • Line 227: warning: exported method BasicComponent.RenderContext should have comment or be unexported (golint)
    • Line 231: warning: comment on exported method BasicComponent.HandleTransforms should be of the form "HandleTransforms ..." (golint)
    • Line 253: warning: exported method BasicComponent.Transforms should have comment or be unexported (golint)
    • Line 257: warning: exported method BasicComponent.Parent should have comment or be unexported (golint)
    • Line 260: warning: exported method BasicComponent.SetParent should have comment or be unexported (golint)
    • Line 264: warning: exported method BasicComponent.Children should have comment or be unexported (golint)
    • Line 268: warning: comment on exported method BasicComponent.Measure should be of the form "Measure ..." (golint)
    • Line 288: warning: comment on exported function CtoE should be of the form "CtoE ..." (golint)
    • heavyfishdesign/transforms/cleanup.go
    • Line 9: warning: exported type CleanupTransform should have comment or be unexported (golint)
    • Line 13: warning: comment on exported method CleanupTransform.PathTransform should be of the form "PathTransform ..." (golint)
    • heavyfishdesign/dynmap/typecast.go
    • Line 12: warning: comment on exported function ToTime should be of the form "ToTime ..." (golint)
    • Line 29: warning: exported function ToBool should have comment or be unexported (golint)
    • Line 48: warning: exported function MustBool should have comment or be unexported (golint)
    • Line 56: warning: exported function ToInt should have comment or be unexported (golint)
    • Line 61: warning: exported function MustInt should have comment or be unexported (golint)
    • Line 69: warning: exported function ToFloat64 should have comment or be unexported (golint)
    • Line 86: warning: exported function ToInt64 should have comment or be unexported (golint)
    • Line 124: warning: exported function ToString should have comment or be unexported (golint)
    • Line 135: warning: exported function MustString should have comment or be unexported (golint)
    • Line 146: warning: comment on exported function IsDynMapConvertable should be of the form "IsDynMapConvertable ..." (golint)
    • Line 168: warning: exported function ToDynMap should have comment or be unexported (golint)
    • Line 200: warning: comment on exported function ToMap should be of the form "ToMap ..." (golint)
    • Line 218: warning: comment on exported function ToArray should be of the form "ToArray ..." (golint)
    • heavyfishdesign/dom/draw_component.go
    • Line 12: warning: exported type DrawComponentFactory should have comment or be unexported (golint)
    • Line 14: warning: exported type DrawComponent should have comment or be unexported (golint)
    • Line 19: warning: exported method DrawComponentFactory.CreateComponent should have comment or be unexported (golint)
    • Line 30: warning: comment on exported method DrawComponentFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 94: warning: exported method DrawComponent.Render should have comment or be unexported (golint)
    • heavyfishdesign/components/repeat_edge.go
    • Line 12: warning: exported type EdgeComponentFactory should have comment or be unexported (golint)
    • Line 14: warning: comment on exported type RepeatEdgeComponent should be of the form "RepeatEdgeComponent ..." (with optional leading article) (golint)
    • Line 30: warning: exported method EdgeComponentFactory.CreateComponent should have comment or be unexported (golint)
    • Line 72: warning: comment on exported method EdgeComponentFactory.ComponentTypes should be of the form "ComponentTypes ..." (golint)
    • Line 77: warning: exported method RepeatEdgeComponent.Render should have comment or be unexported (golint)
    • heavyfishdesign/util/logging.go
    • Line 11: warning: exported type LogLevel should have comment or be unexported (golint)
    • Line 14: warning: exported const Debug should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type LogMessage should have comment or be unexported (golint)
    • Line 41: warning: exported method LogMessage.ToDynMap should have comment or be unexported (golint)
    • Line 49: warning: comment on exported type HfdLog should be of the form "HfdLog ..." (with optional leading article) (golint)
    • Line 64: warning: exported function NewLog should have comment or be unexported (golint)
    • Line 73: warning: exported method HfdLog.HasErrors should have comment or be unexported (golint)
    • Line 77: warning: comment on exported method HfdLog.NewChild should be of the form "NewChild ..." (golint)
    • Line 116: warning: exported method HfdLog.Debugfd should have comment or be unexported (golint)
    • Line 119: warning: exported method HfdLog.Debugf should have comment or be unexported (golint)
    • Line 123: warning: exported method HfdLog.Infofd should have comment or be unexported (golint)
    • Line 126: warning: exported method HfdLog.Infof should have comment or be unexported (golint)
    • Line 130: warning: exported method HfdLog.Errorfd should have comment or be unexported (golint)
    • Line 133: warning: exported method HfdLog.Errorf should have comment or be unexported (golint)
    • Line 137: warning: exported method HfdLog.Logf should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.


misspell91%

Misspell Finds commonly misspelled English words