Preparing report...

Report for github.com/mokiat/lacking

A+    Excellent!    Found 87 issues across 107 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo97%

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.


golint18%

Golint is a linter for Go source code.

    • lacking/shape/sphere.go
    • Line 3: warning: exported function NewStaticSphere should have comment or be unexported (golint)
    • Line 9: warning: exported type StaticSphere should have comment or be unexported (golint)
    • Line 13: warning: exported method StaticSphere.Radius should have comment or be unexported (golint)
    • lacking/render/light.go
    • Line 8: warning: exported type AmbientLight should have comment or be unexported (golint)
    • Line 13: warning: exported type DirectionalLight should have comment or be unexported (golint)
    • lacking/data/gltf/model.go
    • Line 4: warning: exported const AttributePosition should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported const ModePoints should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported const ComponentTypeByte should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported const TypeScalar should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported type Document should have comment or be unexported (golint)
    • Line 54: warning: exported type Asset should have comment or be unexported (golint)
    • Line 60: warning: exported type Scene should have comment or be unexported (golint)
    • Line 65: warning: exported type Node should have comment or be unexported (golint)
    • Line 75: warning: exported type Translation should have comment or be unexported (golint)
    • Line 77: warning: exported type Scale should have comment or be unexported (golint)
    • Line 79: warning: exported type Rotation should have comment or be unexported (golint)
    • Line 81: warning: exported type Matrix should have comment or be unexported (golint)
    • Line 83: warning: exported type Material should have comment or be unexported (golint)
    • Line 90: warning: exported type PBRMetallicRoughness should have comment or be unexported (golint)
    • Line 98: warning: exported type Color should have comment or be unexported (golint)
    • Line 100: warning: exported type Mesh should have comment or be unexported (golint)
    • Line 105: warning: exported method Mesh.HasAttribute should have comment or be unexported (golint)
    • Line 114: warning: exported type Primitive should have comment or be unexported (golint)
    • Line 121: warning: exported method Primitive.HasAttribute should have comment or be unexported (golint)
    • Line 126: warning: exported type Accessor should have comment or be unexported (golint)
    • Line 133: warning: exported type Buffer should have comment or be unexported (golint)
    • Line 139: warning: exported type BufferView should have comment or be unexported (golint)
    • Line 146: warning: exported type TextureInfo should have comment or be unexported (golint)
    • Line 152: warning: exported type Texture should have comment or be unexported (golint)
    • Line 156: warning: exported type Image should have comment or be unexported (golint)
    • lacking/framework/opengl/vertex_array.go
    • Line 9: warning: exported function NewVertexArray should have comment or be unexported (golint)
    • Line 13: warning: exported type VertexArray should have comment or be unexported (golint)
    • Line 17: warning: exported method VertexArray.ID should have comment or be unexported (golint)
    • Line 21: warning: exported method VertexArray.Allocate should have comment or be unexported (golint)
    • Line 42: warning: exported method VertexArray.Release should have comment or be unexported (golint)
    • Line 50: warning: exported type VertexArrayAllocateInfo should have comment or be unexported (golint)
    • Line 56: warning: exported function NewVertexArrayBufferBinding should have comment or be unexported (golint)
    • Line 64: warning: exported type VertexArrayBufferBinding should have comment or be unexported (golint)
    • Line 70: warning: exported function NewVertexArrayAttribute should have comment or be unexported (golint)
    • Line 81: warning: exported type VertexArrayAttribute should have comment or be unexported (golint)
    • lacking/data/pack/locator.go
    • Line 10: warning: exported type ResourceLocator should have comment or be unexported (golint)
    • Line 14: warning: exported type FileResourceLocator should have comment or be unexported (golint)
    • Line 16: warning: exported method FileResourceLocator.Open should have comment or be unexported (golint)
    • Line 24: warning: exported type AssetLocator should have comment or be unexported (golint)
    • Line 28: warning: exported type FileAssetLocator should have comment or be unexported (golint)
    • Line 30: warning: exported method FileAssetLocator.Create should have comment or be unexported (golint)
    • lacking/data/pack/texture_asset.go
    • Line 9: warning: exported type SaveTwoDTextureAssetAction should have comment or be unexported (golint)
    • Line 15: warning: exported method SaveTwoDTextureAssetAction.Describe should have comment or be unexported (golint)
    • Line 19: warning: exported method SaveTwoDTextureAssetAction.Run should have comment or be unexported (golint)
    • Line 40: warning: exported type SaveCubeTextureAction should have comment or be unexported (golint)
    • Line 47: warning: exported type SaveCubeTextureOption should have comment or be unexported (golint)
    • Line 49: warning: exported function WithFormat should have comment or be unexported (golint)
    • Line 55: warning: exported method SaveCubeTextureAction.Describe should have comment or be unexported (golint)
    • Line 59: warning: exported method SaveCubeTextureAction.Run should have comment or be unexported (golint)
    • lacking/app/keyboard.go
    • Line 36: warning: comment on exported const KeyboardEventTypeRepeat should be of the form "KeyboardEventTypeRepeat ..." (golint)
    • Line 70: warning: exported const KeyCodeEscape should have comment (or a comment on this block) or be unexported (golint)
    • Line 157: warning: exported const KeyModifierControl should have comment (or a comment on this block) or be unexported (golint)
    • lacking/shape/intersection.go
    • Line 5: warning: exported type Intersection should have comment or be unexported (golint)
    • Line 13: warning: exported method Intersection.Flipped should have comment or be unexported (golint)
    • Line 19: warning: exported function NewIntersectionResultSet should have comment or be unexported (golint)
    • Line 26: warning: exported type IntersectionResultSet should have comment or be unexported (golint)
    • Line 31: warning: exported method IntersectionResultSet.Reset should have comment or be unexported (golint)
    • Line 35: warning: exported method IntersectionResultSet.AddFlipped should have comment or be unexported (golint)
    • Line 39: warning: exported method IntersectionResultSet.Add should have comment or be unexported (golint)
    • Line 47: warning: exported method IntersectionResultSet.Found should have comment or be unexported (golint)
    • Line 51: warning: exported method IntersectionResultSet.Intersections should have comment or be unexported (golint)
    • Line 55: warning: exported function CheckIntersection should have comment or be unexported (golint)
    • Line 66: warning: exported function CheckIntersectionSphereUnknown should have comment or be unexported (golint)
    • Line 80: warning: exported function CheckIntersectionBoxUnknown should have comment or be unexported (golint)
    • Line 94: warning: exported function CheckIntersectionMeshUnknown should have comment or be unexported (golint)
    • Line 108: warning: exported function CheckIntersectionSphereSphere should have comment or be unexported (golint)
    • Line 111: warning: exported function CheckIntersectionSphereBox should have comment or be unexported (golint)
    • Line 114: warning: exported function CheckIntersectionSphereMesh should have comment or be unexported (golint)
    • Line 145: warning: exported function CheckIntersectionBoxBox should have comment or be unexported (golint)
    • Line 148: warning: exported function CheckIntersectionBoxMesh should have comment or be unexported (golint)
    • Line 225: warning: exported function CheckIntersectionMeshMesh should have comment or be unexported (golint)
    • lacking/shape/triangle.go
    • Line 5: warning: exported function NewStaticTriangle should have comment or be unexported (golint)
    • Line 13: warning: exported type StaticTriangle should have comment or be unexported (golint)
    • Line 19: warning: exported method StaticTriangle.Transformed should have comment or be unexported (golint)
    • Line 27: warning: exported method StaticTriangle.A should have comment or be unexported (golint)
    • Line 31: warning: exported method StaticTriangle.B should have comment or be unexported (golint)
    • Line 35: warning: exported method StaticTriangle.C should have comment or be unexported (golint)
    • Line 39: warning: exported method StaticTriangle.Normal should have comment or be unexported (golint)
    • Line 45: warning: exported method StaticTriangle.Area should have comment or be unexported (golint)
    • Line 51: warning: exported method StaticTriangle.IsLookingTowards should have comment or be unexported (golint)
    • Line 55: warning: exported method StaticTriangle.ContainsPoint should have comment or be unexported (golint)
    • lacking/resource/shader.go
    • Line 5: warning: exported function InjectShader should have comment or be unexported (golint)
    • Line 11: warning: exported type ShaderInfo should have comment or be unexported (golint)
    • Line 18: warning: exported type Shader should have comment or be unexported (golint)
    • lacking/data/pack/image_scale_cube.go
    • Line 5: warning: exported type ScaleCubeImageAction should have comment or be unexported (golint)
    • Line 11: warning: exported method ScaleCubeImageAction.Describe should have comment or be unexported (golint)
    • Line 15: warning: exported method ScaleCubeImageAction.CubeImage should have comment or be unexported (golint)
    • Line 22: warning: exported method ScaleCubeImageAction.Run should have comment or be unexported (golint)
    • lacking/graphics/item.go
    • Line 10: warning: exported type RenderPrimitive should have comment or be unexported (golint)
    • Line 13: warning: exported const RenderPrimitivePoints should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type Item should have comment or be unexported (golint)
    • lacking/graphics/twod_texture.go
    • Line 9: warning: exported type TwoDTexture should have comment or be unexported (golint)
    • Line 13: warning: exported type TwoDTextureData should have comment or be unexported (golint)
    • Line 19: warning: exported method TwoDTexture.Allocate should have comment or be unexported (golint)
    • Line 35: warning: exported method TwoDTexture.Release should have comment or be unexported (golint)
    • lacking/framework/opengl/cube_texture.go
    • Line 10: warning: exported function NewCubeTexture should have comment or be unexported (golint)
    • Line 14: warning: exported type CubeTexture should have comment or be unexported (golint)
    • Line 18: warning: exported method CubeTexture.Allocate should have comment or be unexported (golint)
    • Line 48: warning: exported method CubeTexture.Release should have comment or be unexported (golint)
    • Line 56: warning: exported type CubeTextureAllocateInfo should have comment or be unexported (golint)
    • lacking/resource/pbr.go
    • Line 11: warning: exported const PBRTypeName should have comment or be unexported (golint)
    • Line 13: warning: exported function NewPBRShaderOperator should have comment or be unexported (golint)
    • Line 19: warning: exported type PBRShaderOperator should have comment or be unexported (golint)
    • Line 23: warning: exported method PBRShaderOperator.Allocate should have comment or be unexported (golint)
    • Line 46: warning: exported method PBRShaderOperator.Release should have comment or be unexported (golint)
    • Line 66: warning: exported type PBRGeometrySpec should have comment or be unexported (golint)
    • Line 71: warning: exported function BuildGeometryVertexShader should have comment or be unexported (golint)
    • Line 75: warning: exported function BuildGeometryFragmentShader should have comment or be unexported (golint)
    • lacking/resource/locator.go
    • Line 9: warning: exported type Locator should have comment or be unexported (golint)
    • Line 13: warning: exported type FileLocator should have comment or be unexported (golint)
    • Line 15: warning: exported method FileLocator.Open should have comment or be unexported (golint)
    • lacking/data/pack/program_asset.go
    • Line 9: warning: exported type SaveProgramAssetAction should have comment or be unexported (golint)
    • Line 15: warning: exported method SaveProgramAssetAction.Describe should have comment or be unexported (golint)
    • Line 19: warning: exported method SaveProgramAssetAction.Run should have comment or be unexported (golint)
    • lacking/render/camera.go
    • Line 5: warning: exported type Camera should have comment or be unexported (golint)
    • Line 11: warning: exported function NewCamera should have comment or be unexported (golint)
    • Line 19: warning: exported method Camera.SetProjectionMatrix should have comment or be unexported (golint)
    • Line 23: warning: exported method Camera.ProjectionMatrix should have comment or be unexported (golint)
    • Line 27: warning: exported method Camera.SetMatrix should have comment or be unexported (golint)
    • Line 32: warning: exported method Camera.Matrix should have comment or be unexported (golint)
    • Line 36: warning: exported method Camera.ViewMatrix should have comment or be unexported (golint)
    • lacking/game/physics/solver.go
    • Line 45: warning: comment on exported type NilSBConstraintSolver should be of the form "NilSBConstraintSolver ..." (with optional leading article) (golint)
    • Line 48: warning: exported method NilSBConstraintSolver.Reset should have comment or be unexported (golint)
    • Line 50: warning: exported method NilSBConstraintSolver.CalculateImpulses should have comment or be unexported (golint)
    • Line 54: warning: exported method NilSBConstraintSolver.CalculateNudges should have comment or be unexported (golint)
    • Line 78: warning: exported method SBJacobianConstraintSolver.Reset should have comment or be unexported (golint)
    • Line 80: warning: exported method SBJacobianConstraintSolver.CalculateImpulses should have comment or be unexported (golint)
    • Line 89: warning: exported method SBJacobianConstraintSolver.CalculateNudges should have comment or be unexported (golint)
    • Line 141: warning: comment on exported type NilDBConstraintSolver should be of the form "NilDBConstraintSolver ..." (with optional leading article) (golint)
    • Line 144: warning: exported method NilDBConstraintSolver.Reset should have comment or be unexported (golint)
    • Line 146: warning: exported method NilDBConstraintSolver.CalculateImpulses should have comment or be unexported (golint)
    • Line 150: warning: exported method NilDBConstraintSolver.CalculateNudges should have comment or be unexported (golint)
    • Line 174: warning: exported method DBJacobianConstraintSolver.Reset should have comment or be unexported (golint)
    • Line 176: warning: exported method DBJacobianConstraintSolver.CalculateImpulses should have comment or be unexported (golint)
    • Line 185: warning: exported method DBJacobianConstraintSolver.CalculateNudges should have comment or be unexported (golint)
    • lacking/graphics/cube_texture.go
    • Line 11: warning: exported type DataFormat should have comment or be unexported (golint)
    • Line 14: warning: exported const DataFormatRGBA8 should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type CubeTexture should have comment or be unexported (golint)
    • Line 22: warning: exported type CubeTextureData should have comment or be unexported (golint)
    • Line 33: warning: exported method CubeTexture.Allocate should have comment or be unexported (golint)
    • Line 60: warning: exported method CubeTexture.Release should have comment or be unexported (golint)
    • lacking/resource/level.go
    • Line 12: warning: exported const LevelTypeName should have comment or be unexported (golint)
    • Line 14: warning: exported function InjectLevel should have comment or be unexported (golint)
    • Line 20: warning: exported type Level should have comment or be unexported (golint)
    • Line 30: warning: exported type Entity should have comment or be unexported (golint)
    • Line 35: warning: exported function NewLevelOperator should have comment or be unexported (golint)
    • Line 42: warning: exported type LevelOperator should have comment or be unexported (golint)
    • Line 47: warning: exported method LevelOperator.Allocate should have comment or be unexported (golint)
    • Line 141: warning: exported method LevelOperator.Release should have comment or be unexported (golint)
    • lacking/data/pack/level_json.go
    • Line 10: warning: exported type OpenLevelResourceAction should have comment or be unexported (golint)
    • Line 16: warning: exported method OpenLevelResourceAction.Describe should have comment or be unexported (golint)
    • Line 20: warning: exported method OpenLevelResourceAction.Level should have comment or be unexported (golint)
    • Line 27: warning: exported method OpenLevelResourceAction.Run should have comment or be unexported (golint)
    • lacking/data/pack/model_gltf.go
    • Line 13: warning: exported type OpenGLTFResourceAction should have comment or be unexported (golint)
    • Line 19: warning: exported method OpenGLTFResourceAction.Describe should have comment or be unexported (golint)
    • Line 23: warning: exported method OpenGLTFResourceAction.Model should have comment or be unexported (golint)
    • Line 30: warning: exported method OpenGLTFResourceAction.Run should have comment or be unexported (golint)
    • Line 205: warning: exported type GLTFDocument should have comment or be unexported (golint)
    • Line 209: warning: exported method GLTFDocument.RootNodes should have comment or be unexported (golint)
    • Line 225: warning: exported method GLTFDocument.FindMesh should have comment or be unexported (golint)
    • Line 232: warning: exported type GLTFMesh should have comment or be unexported (golint)
    • Line 237: warning: exported method GLTFMesh.FindPrimitive should have comment or be unexported (golint)
    • Line 244: warning: exported type GLTFPrimitive should have comment or be unexported (golint)
    • Line 249: warning: exported method GLTFPrimitive.FindMode should have comment or be unexported (golint)
    • Line 256: warning: exported method GLTFPrimitive.FindMaterial should have comment or be unexported (golint)
    • Line 266: warning: exported method GLTFPrimitive.FindIndexCount should have comment or be unexported (golint)
    • Line 274: warning: exported method GLTFPrimitive.FindIndex should have comment or be unexported (golint)
    • Line 292: warning: exported method GLTFPrimitive.FindCoord should have comment or be unexported (golint)
    • Line 317: warning: exported method GLTFPrimitive.FindNormal should have comment or be unexported (golint)
    • Line 342: warning: exported method GLTFPrimitive.FindTangent should have comment or be unexported (golint)
    • Line 367: warning: exported method GLTFPrimitive.FindTexCoord0 should have comment or be unexported (golint)
    • Line 391: warning: exported method GLTFPrimitive.FindColor0 should have comment or be unexported (golint)
    • Line 417: warning: exported type GLTFMaterial should have comment or be unexported (golint)
    • Line 422: warning: exported method GLTFMaterial.FindMetallic should have comment or be unexported (golint)
    • Line 432: warning: exported method GLTFMaterial.FindRoughness should have comment or be unexported (golint)
    • Line 442: warning: exported method GLTFMaterial.FindBaseColor should have comment or be unexported (golint)
    • Line 452: warning: exported method GLTFMaterial.FindColorTexture should have comment or be unexported (golint)
    • Line 470: warning: exported method GLTFMaterial.FindRoughnessTexture should have comment or be unexported (golint)
    • Line 488: warning: exported method GLTFMaterial.FindNormalTexture should have comment or be unexported (golint)
    • lacking/app/controller.go
    • Line 51: warning: exported method NopController.OnCreate should have comment or be unexported (golint)
    • Line 53: warning: exported method NopController.OnResize should have comment or be unexported (golint)
    • Line 55: warning: exported method NopController.OnFramebufferResize should have comment or be unexported (golint)
    • Line 57: warning: exported method NopController.OnKeyboardEvent should have comment or be unexported (golint)
    • Line 59: warning: exported method NopController.OnMouseEvent should have comment or be unexported (golint)
    • Line 61: warning: exported method NopController.OnRender should have comment or be unexported (golint)
    • Line 63: warning: exported method NopController.OnCloseRequested should have comment or be unexported (golint)
    • Line 65: warning: exported method NopController.OnDestroy should have comment or be unexported (golint)
    • Line 84: warning: exported method LayeredController.OnCreate should have comment or be unexported (golint)
    • Line 90: warning: exported method LayeredController.OnResize should have comment or be unexported (golint)
    • Line 96: warning: exported method LayeredController.OnFramebufferResize should have comment or be unexported (golint)
    • Line 102: warning: exported method LayeredController.OnKeyboardEvent should have comment or be unexported (golint)
    • Line 111: warning: exported method LayeredController.OnMouseEvent should have comment or be unexported (golint)
    • Line 120: warning: exported method LayeredController.OnRender should have comment or be unexported (golint)
    • Line 126: warning: exported method LayeredController.OnCloseRequested should have comment or be unexported (golint)
    • Line 132: warning: exported method LayeredController.OnDestroy should have comment or be unexported (golint)
    • lacking/data/asset/program.go
    • Line 5: warning: exported type Program should have comment or be unexported (golint)
    • Line 10: warning: exported function EncodeProgram should have comment or be unexported (golint)
    • Line 14: warning: exported function DecodeProgram should have comment or be unexported (golint)
    • lacking/resource/registry.go
    • Line 9: warning: exported type TypeName should have comment or be unexported (golint)
    • Line 11: warning: exported type ShaderOperator should have comment or be unexported (golint)
    • Line 16: warning: exported type Operator should have comment or be unexported (golint)
    • Line 21: warning: exported function NewRegistry should have comment or be unexported (golint)
    • Line 36: warning: exported type Registry should have comment or be unexported (golint)
    • Line 41: warning: exported method Registry.Register should have comment or be unexported (golint)
    • Line 49: warning: exported method Registry.RegisterShader should have comment or be unexported (golint)
    • Line 57: warning: exported method Registry.CreateShader should have comment or be unexported (golint)
    • Line 62: warning: exported method Registry.ReleaseShader should have comment or be unexported (golint)
    • Line 67: warning: exported method Registry.Load should have comment or be unexported (golint)
    • Line 72: warning: exported method Registry.Unload should have comment or be unexported (golint)
    • Line 77: warning: exported method Registry.LoadProgram should have comment or be unexported (golint)
    • Line 81: warning: exported method Registry.UnloadProgram should have comment or be unexported (golint)
    • Line 85: warning: exported method Registry.LoadTwoDTexture should have comment or be unexported (golint)
    • Line 89: warning: exported method Registry.UnloadTwoDTexture should have comment or be unexported (golint)
    • Line 93: warning: exported method Registry.LoadCubeTexture should have comment or be unexported (golint)
    • Line 97: warning: exported method Registry.UnloadCubeTexture should have comment or be unexported (golint)
    • Line 101: warning: exported method Registry.LoadMesh should have comment or be unexported (golint)
    • Line 105: warning: exported method Registry.UnloadMesh should have comment or be unexported (golint)
    • Line 109: warning: exported method Registry.LoadModel should have comment or be unexported (golint)
    • Line 113: warning: exported method Registry.UnloadModel should have comment or be unexported (golint)
    • Line 117: warning: exported method Registry.LoadLevel should have comment or be unexported (golint)
    • Line 121: warning: exported method Registry.UnloadLevel should have comment or be unexported (golint)
    • Line 125: warning: exported type Type should have comment or be unexported (golint)
    • Line 132: warning: exported method Type.Load should have comment or be unexported (golint)
    • Line 150: warning: exported method Type.Unload should have comment or be unexported (golint)
    • Line 194: warning: exported type ShaderType should have comment or be unexported (golint)
    • Line 201: warning: exported method ShaderType.Create should have comment or be unexported (golint)
    • Line 219: warning: exported method ShaderType.Release should have comment or be unexported (golint)
    • Line 263: warning: comment on exported type Reference should be of the form "Reference ..." (with optional leading article) (golint)
    • lacking/data/pack/image_build_cube_side_equirect.go
    • Line 5: warning: exported type BuildCubeSideFromEquirectangularAction should have comment or be unexported (golint)
    • Line 11: warning: exported method BuildCubeSideFromEquirectangularAction.Describe should have comment or be unexported (golint)
    • Line 15: warning: exported method BuildCubeSideFromEquirectangularAction.Image should have comment or be unexported (golint)
    • Line 22: warning: exported method BuildCubeSideFromEquirectangularAction.Run should have comment or be unexported (golint)
    • lacking/data/pack/model_asset.go
    • Line 10: warning: exported type SaveModelAssetAction should have comment or be unexported (golint)
    • Line 16: warning: exported method SaveModelAssetAction.Describe should have comment or be unexported (golint)
    • Line 20: warning: exported method SaveModelAssetAction.Run should have comment or be unexported (golint)
    • lacking/async/task.go
    • Line 3: warning: exported type Task should have comment or be unexported (golint)
    • Line 5: warning: exported function VoidTask should have comment or be unexported (golint)
    • Line 13: warning: exported type Result should have comment or be unexported (golint)
    • Line 18: warning: exported function NewCompositeOutcome should have comment or be unexported (golint)
    • Line 34: warning: exported function NewOutcome should have comment or be unexported (golint)
    • Line 40: warning: exported function NewValueOutcome should have comment or be unexported (golint)
    • Line 48: warning: exported function NewErrorOutcome should have comment or be unexported (golint)
    • Line 56: warning: exported type Outcome should have comment or be unexported (golint)
    • Line 60: warning: exported method Outcome.Record should have comment or be unexported (golint)
    • Line 64: warning: exported method Outcome.OnSuccess should have comment or be unexported (golint)
    • Line 76: warning: exported method Outcome.OnError should have comment or be unexported (golint)
    • Line 88: warning: exported method Outcome.IsAvailable should have comment or be unexported (golint)
    • Line 101: warning: exported method Outcome.Wait should have comment or be unexported (golint)
    • lacking/data/asset/texture.go
    • Line 5: warning: exported type DataFormat should have comment or be unexported (golint)
    • Line 8: warning: exported const DataFormatRGBA8 should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported type TwoDTexture should have comment or be unexported (golint)
    • Line 19: warning: exported type TextureSide should have comment or be unexported (golint)
    • Line 22: warning: exported const TextureSideFront should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type CubeTexture should have comment or be unexported (golint)
    • Line 36: warning: exported type CubeTextureSide should have comment or be unexported (golint)
    • Line 40: warning: exported function EncodeTwoDTexture should have comment or be unexported (golint)
    • Line 44: warning: exported function DecodeTwoDTexture should have comment or be unexported (golint)
    • Line 48: warning: exported function EncodeCubeTexture should have comment or be unexported (golint)
    • Line 52: warning: exported function DecodeCubeTexture should have comment or be unexported (golint)
    • lacking/resource/program.go
    • Line 11: warning: exported const ProgramTypeName should have comment or be unexported (golint)
    • Line 13: warning: exported function InjectProgram should have comment or be unexported (golint)
    • Line 19: warning: exported type Program should have comment or be unexported (golint)
    • Line 24: warning: exported function NewProgramOperator should have comment or be unexported (golint)
    • Line 31: warning: exported type ProgramOperator should have comment or be unexported (golint)
    • Line 36: warning: exported method ProgramOperator.Allocate should have comment or be unexported (golint)
    • Line 65: warning: exported method ProgramOperator.Release should have comment or be unexported (golint)
    • lacking/data/pack/image_build_irradiance_cube.go
    • Line 9: warning: exported type BuildIrradianceCubeImageAction should have comment or be unexported (golint)
    • Line 15: warning: exported type BuildIrradianceCubeImageOption should have comment or be unexported (golint)
    • Line 17: warning: exported function WithSampleCount should have comment or be unexported (golint)
    • Line 23: warning: exported method BuildIrradianceCubeImageAction.Describe should have comment or be unexported (golint)
    • Line 27: warning: exported method BuildIrradianceCubeImageAction.CubeImage should have comment or be unexported (golint)
    • Line 34: warning: exported method BuildIrradianceCubeImageAction.Run should have comment or be unexported (golint)
    • lacking/framework/opengl/buffer.go
    • Line 10: warning: exported function NewBuffer should have comment or be unexported (golint)
    • Line 14: warning: exported type Buffer should have comment or be unexported (golint)
    • Line 19: warning: exported method Buffer.ID should have comment or be unexported (golint)
    • Line 23: warning: exported method Buffer.Allocate should have comment or be unexported (golint)
    • Line 36: warning: exported method Buffer.Update should have comment or be unexported (golint)
    • Line 47: warning: exported method Buffer.Release should have comment or be unexported (golint)
    • Line 56: warning: exported type BufferAllocateInfo should have comment or be unexported (golint)
    • Line 69: warning: exported type BufferUpdateInfo should have comment or be unexported (golint)
    • lacking/framework/opengl/shader.go
    • Line 11: warning: exported function NewShader should have comment or be unexported (golint)
    • Line 15: warning: exported type Shader should have comment or be unexported (golint)
    • Line 19: warning: exported method Shader.ID should have comment or be unexported (golint)
    • Line 23: warning: exported method Shader.Allocate should have comment or be unexported (golint)
    • Line 38: warning: exported method Shader.Release should have comment or be unexported (golint)
    • Line 68: warning: exported type ShaderAllocateInfo should have comment or be unexported (golint)
    • Line 73: warning: exported function NewShaderSourceBuilder should have comment or be unexported (golint)
    • Line 81: warning: exported type ShaderSourceBuilder should have comment or be unexported (golint)
    • Line 87: warning: exported method ShaderSourceBuilder.SetVersion should have comment or be unexported (golint)
    • Line 91: warning: exported method ShaderSourceBuilder.AddFeature should have comment or be unexported (golint)
    • Line 95: warning: exported method ShaderSourceBuilder.Build should have comment or be unexported (golint)
    • lacking/framework/glfw/app/icon.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • lacking/data/asset/mesh.go
    • Line 5: warning: exported const UnspecifiedOffset should have comment or be unexported (golint)
    • Line 7: warning: exported type Mesh should have comment or be unexported (golint)
    • Line 15: warning: exported type VertexLayout should have comment or be unexported (golint)
    • Line 28: warning: exported type SubMesh should have comment or be unexported (golint)
    • Line 35: warning: exported type Material should have comment or be unexported (golint)
    • Line 50: warning: exported type Primitive should have comment or be unexported (golint)
    • Line 53: warning: exported const PrimitivePoints should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: exported function EncodeMesh should have comment or be unexported (golint)
    • Line 66: warning: exported function DecodeMesh should have comment or be unexported (golint)
    • lacking/render/scene.go
    • Line 18: warning: exported function NewScene should have comment or be unexported (golint)
    • Line 36: warning: exported type Scene should have comment or be unexported (golint)
    • Line 54: warning: exported method Scene.SetActiveCamera should have comment or be unexported (golint)
    • Line 58: warning: exported method Scene.Layout should have comment or be unexported (golint)
    • Line 62: warning: exported method Scene.Init should have comment or be unexported (golint)
    • Line 154: warning: exported method Scene.Release should have comment or be unexported (golint)
    • Line 158: warning: exported method Scene.Render should have comment or be unexported (golint)
    • lacking/game/physics/jacobian.go
    • Line 7: warning: exported type Jacobian should have comment or be unexported (golint)
    • Line 12: warning: exported method Jacobian.EffectiveVelocity should have comment or be unexported (golint)
    • Line 17: warning: exported method Jacobian.InverseEffectiveMass should have comment or be unexported (golint)
    • Line 22: warning: exported method Jacobian.ImpulseLambda should have comment or be unexported (golint)
    • Line 26: warning: exported method Jacobian.ImpulseSolution should have comment or be unexported (golint)
    • Line 33: warning: exported method Jacobian.NudgeLambda should have comment or be unexported (golint)
    • Line 37: warning: exported method Jacobian.NudgeSolution should have comment or be unexported (golint)
    • Line 44: warning: exported type PairJacobian should have comment or be unexported (golint)
    • Line 49: warning: exported method PairJacobian.ImpulseLambda should have comment or be unexported (golint)
    • Line 53: warning: exported method PairJacobian.ImpulseSolution should have comment or be unexported (golint)
    • Line 66: warning: exported method PairJacobian.NudgeLambda should have comment or be unexported (golint)
    • Line 70: warning: exported method PairJacobian.NudgeSolution should have comment or be unexported (golint)
    • Line 83: warning: exported method PairJacobian.EffectiveVelocity should have comment or be unexported (golint)
    • Line 87: warning: exported method PairJacobian.InverseEffectiveMass should have comment or be unexported (golint)
    • lacking/graphics/framebuffer.go
    • Line 8: warning: exported type FramebufferData should have comment or be unexported (golint)
    • Line 17: warning: exported type Framebuffer should have comment or be unexported (golint)
    • Line 27: warning: exported method Framebuffer.ID should have comment or be unexported (golint)
    • Line 34: warning: exported method Framebuffer.HasAlbedoAttachment should have comment or be unexported (golint)
    • Line 38: warning: exported method Framebuffer.HasNormalAttachment should have comment or be unexported (golint)
    • Line 42: warning: exported method Framebuffer.HasDepthAttachment should have comment or be unexported (golint)
    • Line 46: warning: exported method Framebuffer.Allocate should have comment or be unexported (golint)
    • Line 116: warning: exported method Framebuffer.Release should have comment or be unexported (golint)
    • lacking/graphics/vertex_array.go
    • Line 11: warning: exported const CoordAttributeIndex should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported function NewVertexArrayData should have comment or be unexported (golint)
    • Line 45: warning: exported type VertexArrayData should have comment or be unexported (golint)
    • Line 51: warning: exported function NewVertexWriter should have comment or be unexported (golint)
    • Line 58: warning: exported type VertexWriter should have comment or be unexported (golint)
    • Line 64: warning: exported method VertexWriter.SetCoord should have comment or be unexported (golint)
    • Line 72: warning: exported method VertexWriter.Next should have comment or be unexported (golint)
    • Line 77: warning: exported function NewIndexWriter should have comment or be unexported (golint)
    • Line 83: warning: exported type IndexWriter should have comment or be unexported (golint)
    • Line 88: warning: exported method IndexWriter.SetIndex should have comment or be unexported (golint)
    • Line 93: warning: exported method IndexWriter.Next should have comment or be unexported (golint)
    • Line 98: warning: exported type VertexArrayLayout should have comment or be unexported (golint)
    • Line 116: warning: exported function NewVertexArray should have comment or be unexported (golint)
    • Line 124: warning: exported type VertexArray should have comment or be unexported (golint)
    • Line 130: warning: exported method VertexArray.ID should have comment or be unexported (golint)
    • Line 134: warning: exported method VertexArray.Allocate should have comment or be unexported (golint)
    • Line 221: warning: exported method VertexArray.Release should have comment or be unexported (golint)
    • lacking/framework/opengl/framebuffer.go
    • Line 10: warning: exported function NewFramebuffer should have comment or be unexported (golint)
    • Line 14: warning: exported type Framebuffer should have comment or be unexported (golint)
    • Line 18: warning: exported method Framebuffer.ID should have comment or be unexported (golint)
    • Line 22: warning: exported method Framebuffer.Allocate should have comment or be unexported (golint)
    • Line 57: warning: exported method Framebuffer.Release should have comment or be unexported (golint)
    • Line 65: warning: exported type FramebufferAllocateInfo should have comment or be unexported (golint)
    • lacking/resource/cube_texture.go
    • Line 11: warning: exported const CubeTextureTypeName should have comment or be unexported (golint)
    • Line 13: warning: exported function InjectCubeTexture should have comment or be unexported (golint)
    • Line 19: warning: exported type CubeTexture should have comment or be unexported (golint)
    • Line 24: warning: exported function NewCubeTextureOperator should have comment or be unexported (golint)
    • Line 31: warning: exported type CubeTextureOperator should have comment or be unexported (golint)
    • Line 36: warning: exported method CubeTextureOperator.Allocate should have comment or be unexported (golint)
    • Line 81: warning: exported method CubeTextureOperator.Release should have comment or be unexported (golint)
    • lacking/data/pack/image_build_cube.go
    • Line 5: warning: exported type BuildCubeImageAction should have comment or be unexported (golint)
    • Line 16: warning: exported type BuildCubeImageOption should have comment or be unexported (golint)
    • Line 18: warning: exported function WithFrontImage should have comment or be unexported (golint)
    • Line 24: warning: exported function WithRearImage should have comment or be unexported (golint)
    • Line 30: warning: exported function WithLeftImage should have comment or be unexported (golint)
    • Line 36: warning: exported function WithRightImage should have comment or be unexported (golint)
    • Line 42: warning: exported function WithTopImage should have comment or be unexported (golint)
    • Line 48: warning: exported function WithBottomImage should have comment or be unexported (golint)
    • Line 54: warning: exported function WithDimension should have comment or be unexported (golint)
    • Line 60: warning: exported method BuildCubeImageAction.Describe should have comment or be unexported (golint)
    • Line 64: warning: exported method BuildCubeImageAction.CubeImage should have comment or be unexported (golint)
    • Line 71: warning: exported method BuildCubeImageAction.Run should have comment or be unexported (golint)
    • lacking/shape/box.go
    • Line 3: warning: exported function NewStaticBox should have comment or be unexported (golint)
    • Line 11: warning: exported type StaticBox should have comment or be unexported (golint)
    • Line 17: warning: exported method StaticBox.Width should have comment or be unexported (golint)
    • Line 21: warning: exported method StaticBox.Height should have comment or be unexported (golint)
    • Line 25: warning: exported method StaticBox.Length should have comment or be unexported (golint)
    • lacking/graphics/pipeline.go
    • Line 20: warning: exported type Pipeline should have comment or be unexported (golint)
    • Line 31: warning: exported method Pipeline.BeginSequence should have comment or be unexported (golint)
    • Line 47: warning: exported method Pipeline.EndSequence should have comment or be unexported (golint)
    • Line 52: warning: exported method Pipeline.SchedulePreRender should have comment or be unexported (golint)
    • Line 61: warning: exported method Pipeline.SchedulePostRender should have comment or be unexported (golint)
    • lacking/graphics/renderer.go
    • Line 9: warning: exported function NewRenderer should have comment or be unexported (golint)
    • Line 24: warning: exported type Renderer should have comment or be unexported (golint)
    • Line 31: warning: exported method Renderer.BeginPipeline should have comment or be unexported (golint)
    • Line 46: warning: exported method Renderer.EndPipeline should have comment or be unexported (golint)
    • Line 58: warning: exported method Renderer.Render should have comment or be unexported (golint)
    • lacking/data/buffer.go
    • Line 5: warning: exported type Buffer should have comment or be unexported (golint)
    • Line 7: warning: exported method Buffer.SetFloat32 should have comment or be unexported (golint)
    • Line 15: warning: exported method Buffer.Float32 should have comment or be unexported (golint)
    • Line 23: warning: exported method Buffer.SetUInt16 should have comment or be unexported (golint)
    • Line 28: warning: exported method Buffer.UInt16 should have comment or be unexported (golint)
    • lacking/data/asset/io.go
    • Line 10: warning: exported function Encode should have comment or be unexported (golint)
    • Line 19: warning: exported function Decode should have comment or be unexported (golint)
    • lacking/render/layout.go
    • Line 8: warning: exported function NewLayout should have comment or be unexported (golint)
    • Line 16: warning: exported type Layout should have comment or be unexported (golint)
    • Line 21: warning: exported method Layout.SetSkybox should have comment or be unexported (golint)
    • Line 25: warning: exported method Layout.Skybox should have comment or be unexported (golint)
    • Line 29: warning: exported method Layout.CreateRenderable should have comment or be unexported (golint)
    • Line 39: warning: exported method Layout.DeleteRenderable should have comment or be unexported (golint)
    • Line 43: warning: exported method Layout.InvalidateRenderable should have comment or be unexported (golint)
    • Line 58: warning: exported type Node should have comment or be unexported (golint)
    • Line 66: warning: exported method Node.FindNode should have comment or be unexported (golint)
    • Line 70: warning: exported method Node.IsVisibleFrom should have comment or be unexported (golint)
    • lacking/resource/mesh.go
    • Line 12: warning: exported const MeshTypeName should have comment or be unexported (golint)
    • Line 14: warning: exported function InjectMesh should have comment or be unexported (golint)
    • Line 20: warning: exported type Mesh should have comment or be unexported (golint)
    • Line 26: warning: exported type SubMesh should have comment or be unexported (golint)
    • Line 33: warning: exported type Material should have comment or be unexported (golint)
    • Line 46: warning: exported function NewMeshOperator should have comment or be unexported (golint)
    • Line 53: warning: exported type MeshOperator should have comment or be unexported (golint)
    • Line 58: warning: exported method MeshOperator.Allocate should have comment or be unexported (golint)
    • Line 73: warning: exported method MeshOperator.Release should have comment or be unexported (golint)
    • Line 78: warning: exported function AllocateMesh should have comment or be unexported (golint)
    • Line 181: warning: exported function ReleaseMesh should have comment or be unexported (golint)
    • lacking/data/pack/level_pack.go
    • Line 5: warning: exported type LevelProvider should have comment or be unexported (golint)
    • Line 9: warning: exported type Level should have comment or be unexported (golint)
    • Line 18: warning: exported type LevelEntity should have comment or be unexported (golint)
    • Line 23: warning: exported type LevelCollisionMesh should have comment or be unexported (golint)
    • Line 27: warning: exported type Triangle should have comment or be unexported (golint)
    • lacking/data/json/level.go
    • Line 9: warning: exported type Level should have comment or be unexported (golint)
    • Line 21: warning: exported type CollisionMesh should have comment or be unexported (golint)
    • Line 25: warning: exported type Triangle should have comment or be unexported (golint)
    • Line 27: warning: exported type Entity should have comment or be unexported (golint)
    • Line 32: warning: exported type Position should have comment or be unexported (golint)
    • Line 34: warning: exported type Mesh should have comment or be unexported (golint)
    • Line 42: warning: exported type SubMesh should have comment or be unexported (golint)
    • Line 49: warning: exported function NewLevelDecoder should have comment or be unexported (golint)
    • Line 53: warning: exported type LevelDecoder should have comment or be unexported (golint)
    • Line 55: warning: exported method LevelDecoder.Decode should have comment or be unexported (golint)
    • Line 63: warning: exported function NewLevelEncoder should have comment or be unexported (golint)
    • Line 67: warning: exported type LevelEncoder should have comment or be unexported (golint)
    • Line 69: warning: exported method LevelEncoder.Encode should have comment or be unexported (golint)
    • lacking/data/asset/model.go
    • Line 5: warning: exported type Model should have comment or be unexported (golint)
    • Line 10: warning: exported type Node should have comment or be unexported (golint)
    • Line 17: warning: exported function EncodeModel should have comment or be unexported (golint)
    • Line 21: warning: exported function DecodeModel should have comment or be unexported (golint)
    • lacking/game/physics/solver/coilover.go
    • Line 10: warning: exported type Coilover should have comment or be unexported (golint)
    • Line 20: warning: exported method Coilover.Reset should have comment or be unexported (golint)
    • Line 24: warning: exported method Coilover.CalculateImpulses should have comment or be unexported (golint)
    • lacking/graphics/program.go
    • Line 9: warning: exported type Program should have comment or be unexported (golint)
    • Line 36: warning: exported method Program.ID should have comment or be unexported (golint)
    • Line 40: warning: exported type ProgramData should have comment or be unexported (golint)
    • Line 45: warning: exported method Program.Allocate should have comment or be unexported (golint)
    • Line 95: warning: exported method Program.Release should have comment or be unexported (golint)
    • lacking/data/pack/level_asset.go
    • Line 9: warning: exported type SaveLevelAssetAction should have comment or be unexported (golint)
    • Line 15: warning: exported method SaveLevelAssetAction.Describe should have comment or be unexported (golint)
    • Line 19: warning: exported method SaveLevelAssetAction.Run should have comment or be unexported (golint)
    • lacking/shape/mesh.go
    • Line 3: warning: exported function NewStaticMesh should have comment or be unexported (golint)
    • Line 10: warning: exported type StaticMesh should have comment or be unexported (golint)
    • Line 15: warning: exported method StaticMesh.Triangles should have comment or be unexported (golint)
    • Line 19: warning: exported method StaticMesh.BoundingSphereRadius should have comment or be unexported (golint)
    • lacking/game/physics/solver/match_rotation.go
    • Line 22: warning: comment on exported type MatchRotation should be of the form "MatchRotation ..." (with optional leading article) (golint)
    • Line 30: warning: exported method MatchRotation.Reset should have comment or be unexported (golint)
    • Line 35: warning: exported method MatchRotation.CalculateImpulses should have comment or be unexported (golint)
    • Line 50: warning: exported method MatchRotation.CalculateNudges should have comment or be unexported (golint)
    • lacking/framework/opengl/twod_texture.go
    • Line 10: warning: exported function NewTwoDTexture should have comment or be unexported (golint)
    • Line 14: warning: exported type TwoDTexture should have comment or be unexported (golint)
    • Line 18: warning: exported method TwoDTexture.Allocate should have comment or be unexported (golint)
    • Line 45: warning: exported method TwoDTexture.Release should have comment or be unexported (golint)
    • Line 53: warning: exported type TwoDTextureAllocateInfo should have comment or be unexported (golint)
    • lacking/data/pack/packer.go
    • Line 8: warning: exported function NewPacker should have comment or be unexported (golint)
    • Line 12: warning: exported type Packer should have comment or be unexported (golint)
    • Line 17: warning: exported method Packer.Pipeline should have comment or be unexported (golint)
    • Line 23: warning: exported method Packer.FPipeline should have comment or be unexported (golint)
    • Line 29: warning: exported method Packer.RunSerial should have comment or be unexported (golint)
    • Line 39: warning: exported method Packer.RunParallel should have comment or be unexported (golint)
    • lacking/graphics/sequence.go
    • Line 5: warning: exported type DepthFunc should have comment or be unexported (golint)
    • Line 8: warning: exported const DepthFuncLess should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type Sequence should have comment or be unexported (golint)
    • Line 39: warning: exported method Sequence.BeginItem should have comment or be unexported (golint)
    • Line 49: warning: exported method Sequence.EndItem should have comment or be unexported (golint)
    • lacking/data/pack/model_pack.go
    • Line 5: warning: exported type ModelProvider should have comment or be unexported (golint)
    • Line 9: warning: exported type Model should have comment or be unexported (golint)
    • Line 14: warning: exported type Node should have comment or be unexported (golint)
    • Line 23: warning: exported method Node.Matrix should have comment or be unexported (golint)
    • Line 36: warning: exported type Mesh should have comment or be unexported (golint)
    • Line 49: warning: exported type SubMesh should have comment or be unexported (golint)
    • Line 56: warning: exported type Primitive should have comment or be unexported (golint)
    • Line 59: warning: exported const PrimitivePoints should have comment (or a comment on this block) or be unexported (golint)
    • Line 68: warning: exported type Material should have comment or be unexported (golint)
    • lacking/shape/placement.go
    • Line 5: warning: exported type Placement should have comment or be unexported (golint)
    • Line 11: warning: exported method Placement.Transformed should have comment or be unexported (golint)
    • lacking/resource/model.go
    • Line 11: warning: exported const ModelTypeName should have comment or be unexported (golint)
    • Line 13: warning: exported function InjectModel should have comment or be unexported (golint)
    • Line 19: warning: exported type Model should have comment or be unexported (golint)
    • Line 25: warning: exported method Model.FindNode should have comment or be unexported (golint)
    • Line 37: warning: exported type Node should have comment or be unexported (golint)
    • Line 45: warning: exported method Node.FindNode should have comment or be unexported (golint)
    • Line 57: warning: exported function NewModelOperator should have comment or be unexported (golint)
    • Line 64: warning: exported type ModelOperator should have comment or be unexported (golint)
    • Line 69: warning: exported method ModelOperator.Allocate should have comment or be unexported (golint)
    • Line 116: warning: exported method ModelOperator.Release should have comment or be unexported (golint)
    • lacking/data/pack/pipeline.go
    • Line 11: warning: exported type Action should have comment or be unexported (golint)
    • Line 15: warning: exported type Described should have comment or be unexported (golint)
    • Line 27: warning: exported type Pipeline should have comment or be unexported (golint)
    • Line 34: warning: exported method Pipeline.OpenShaderResource should have comment or be unexported (golint)
    • Line 43: warning: exported method Pipeline.BuildProgram should have comment or be unexported (golint)
    • Line 52: warning: exported method Pipeline.SaveProgramAsset should have comment or be unexported (golint)
    • Line 62: warning: exported method Pipeline.OpenImageResource should have comment or be unexported (golint)
    • Line 71: warning: exported method Pipeline.SaveTwoDTextureAsset should have comment or be unexported (golint)
    • Line 81: warning: exported method Pipeline.SaveCubeTextureAsset should have comment or be unexported (golint)
    • Line 95: warning: exported method Pipeline.BuildCubeSideFromEquirectangular should have comment or be unexported (golint)
    • Line 104: warning: exported method Pipeline.BuildCubeImage should have comment or be unexported (golint)
    • Line 113: warning: exported method Pipeline.ScaleCubeImage should have comment or be unexported (golint)
    • Line 122: warning: exported method Pipeline.BuildIrradianceCubeImage should have comment or be unexported (golint)
    • Line 134: warning: exported method Pipeline.OpenGLTFResource should have comment or be unexported (golint)
    • Line 143: warning: exported method Pipeline.SaveModelAsset should have comment or be unexported (golint)
    • Line 153: warning: exported method Pipeline.OpenLevelResource should have comment or be unexported (golint)
    • Line 162: warning: exported method Pipeline.SaveLevelAsset should have comment or be unexported (golint)
    • lacking/framework/opengl/program.go
    • Line 11: warning: exported function NewProgram should have comment or be unexported (golint)
    • Line 15: warning: exported type Program should have comment or be unexported (golint)
    • Line 19: warning: exported method Program.ID should have comment or be unexported (golint)
    • Line 23: warning: exported method Program.Allocate should have comment or be unexported (golint)
    • Line 45: warning: exported method Program.UniformLocation should have comment or be unexported (golint)
    • Line 55: warning: exported method Program.Release should have comment or be unexported (golint)
    • Line 79: warning: exported type ProgramAllocateInfo should have comment or be unexported (golint)
    • lacking/resource/twod_texture.go
    • Line 11: warning: exported const TwoDTextureTypeName should have comment or be unexported (golint)
    • Line 13: warning: exported function InjectTwoDTexture should have comment or be unexported (golint)
    • Line 19: warning: exported type TwoDTexture should have comment or be unexported (golint)
    • Line 24: warning: exported function NewTwoDTextureOperator should have comment or be unexported (golint)
    • Line 31: warning: exported type TwoDTextureOperator should have comment or be unexported (golint)
    • Line 36: warning: exported method TwoDTextureOperator.Allocate should have comment or be unexported (golint)
    • Line 66: warning: exported method TwoDTextureOperator.Release should have comment or be unexported (golint)
    • lacking/data/pack/image_pack.go
    • Line 11: warning: exported type Color should have comment or be unexported (golint)
    • Line 18: warning: exported type ImageProvider should have comment or be unexported (golint)
    • Line 22: warning: exported type Image should have comment or be unexported (golint)
    • Line 28: warning: exported method Image.IsSquare should have comment or be unexported (golint)
    • Line 32: warning: exported method Image.Texel should have comment or be unexported (golint)
    • Line 36: warning: exported method Image.TexelUV should have comment or be unexported (golint)
    • Line 43: warning: exported method Image.BilinearTexel should have comment or be unexported (golint)
    • Line 79: warning: exported method Image.Scale should have comment or be unexported (golint)
    • Line 106: warning: exported method Image.RGBA8Data should have comment or be unexported (golint)
    • Line 122: warning: exported type CubeSide should have comment or be unexported (golint)
    • Line 125: warning: exported const CubeSideFront should have comment (or a comment on this block) or be unexported (golint)
    • Line 133: warning: exported type CubeImageProvider should have comment or be unexported (golint)
    • Line 137: warning: exported type CubeImage should have comment or be unexported (golint)
    • Line 142: warning: exported method CubeImage.TexelUVW should have comment or be unexported (golint)
    • Line 148: warning: exported type CubeImageSide should have comment or be unexported (golint)
    • Line 152: warning: exported method CubeImageSide.Texel should have comment or be unexported (golint)
    • Line 156: warning: exported method CubeImage.SideToImage should have comment or be unexported (golint)
    • Line 156: warning: receiver name i should be consistent with previous receiver name s for CubeImage (golint)
    • Line 164: warning: exported method CubeImage.Scale should have comment or be unexported (golint)
    • Line 164: warning: receiver name t should be consistent with previous receiver name s for CubeImage (golint)
    • Line 178: warning: exported method CubeImage.RGBA8Data should have comment or be unexported (golint)
    • Line 178: warning: receiver name t should be consistent with previous receiver name s for CubeImage (golint)
    • Line 195: warning: exported method CubeImage.RGBA32FData should have comment or be unexported (golint)
    • Line 195: warning: receiver name t should be consistent with previous receiver name s for CubeImage (golint)
    • Line 212: warning: exported function CubeUVToUVW should have comment or be unexported (golint)
    • Line 231: warning: exported function UVWToCubeUV should have comment or be unexported (golint)
    • Line 236: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 244: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 251: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 256: warning: exported function UVWToEquirectangularUV should have comment or be unexported (golint)
    • lacking/data/pack/program_pack.go
    • Line 3: warning: exported type ProgramProvider should have comment or be unexported (golint)
    • Line 7: warning: exported type Program should have comment or be unexported (golint)
    • Line 12: warning: exported type BuildProgramOption should have comment or be unexported (golint)
    • Line 14: warning: exported function WithVertexShader should have comment or be unexported (golint)
    • Line 20: warning: exported function WithFragmentShader should have comment or be unexported (golint)
    • Line 26: warning: exported type BuildProgramAction should have comment or be unexported (golint)
    • Line 32: warning: exported method BuildProgramAction.Describe should have comment or be unexported (golint)
    • Line 36: warning: exported method BuildProgramAction.Program should have comment or be unexported (golint)
    • Line 43: warning: exported method BuildProgramAction.Run should have comment or be unexported (golint)
    • lacking/async/worker.go
    • Line 3: warning: exported function NewWorker should have comment or be unexported (golint)
    • Line 10: warning: exported type Worker should have comment or be unexported (golint)
    • Line 15: warning: exported method Worker.Wait should have comment or be unexported (golint)
    • Line 19: warning: exported method Worker.Schedule should have comment or be unexported (golint)
    • Line 28: warning: exported method Worker.ProcessTrySingle should have comment or be unexported (golint)
    • Line 41: warning: exported method Worker.ProcessTryMultiple should have comment or be unexported (golint)
    • Line 51: warning: exported method Worker.ProcessAll should have comment or be unexported (golint)
    • Line 58: warning: exported method Worker.Shutdown should have comment or be unexported (golint)
    • lacking/graphics/preset/postprocessing.go
    • Line 10: warning: exported type ToneMapping should have comment or be unexported (golint)
    • Line 13: warning: exported const ReinhardToneMapping should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported function NewPostprocessingShaderData should have comment or be unexported (golint)
    • lacking/data/asset/level.go
    • Line 5: warning: exported type Level should have comment or be unexported (golint)
    • Line 14: warning: exported type LevelEntity should have comment or be unexported (golint)
    • Line 19: warning: exported type LevelCollisionMesh should have comment or be unexported (golint)
    • Line 23: warning: exported type Triangle should have comment or be unexported (golint)
    • Line 25: warning: exported type Point should have comment or be unexported (golint)
    • Line 27: warning: exported function EncodeLevel should have comment or be unexported (golint)
    • Line 31: warning: exported function DecodeLevel should have comment or be unexported (golint)
    • lacking/shape/line.go
    • Line 5: warning: exported function NewStaticLine should have comment or be unexported (golint)
    • Line 12: warning: exported type StaticLine should have comment or be unexported (golint)
    • Line 17: warning: exported method StaticLine.A should have comment or be unexported (golint)
    • Line 21: warning: exported method StaticLine.B should have comment or be unexported (golint)
    • Line 25: warning: exported method StaticLine.SqrLength should have comment or be unexported (golint)
    • Line 29: warning: exported method StaticLine.Length should have comment or be unexported (golint)
    • lacking/data/gltf/source.go
    • Line 10: warning: exported type Source should have comment or be unexported (golint)
    • Line 15: warning: exported function NewFileSource should have comment or be unexported (golint)
    • Line 21: warning: exported type FileSource should have comment or be unexported (golint)
    • Line 25: warning: exported method FileSource.Open should have comment or be unexported (golint)
    • Line 33: warning: exported method FileSource.OpenRelative should have comment or be unexported (golint)
    • lacking/data/pack/image_resource.go
    • Line 6: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 10: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 14: warning: exported type OpenImageResourceAction should have comment or be unexported (golint)
    • Line 20: warning: exported method OpenImageResourceAction.Describe should have comment or be unexported (golint)
    • Line 24: warning: exported method OpenImageResourceAction.Image should have comment or be unexported (golint)
    • Line 31: warning: exported method OpenImageResourceAction.Run should have comment or be unexported (golint)
    • lacking/data/pack/shader_resource.go
    • Line 8: warning: exported type OpenShaderResourceAction should have comment or be unexported (golint)
    • Line 14: warning: exported method OpenShaderResourceAction.Describe should have comment or be unexported (golint)
    • Line 18: warning: exported method OpenShaderResourceAction.Shader should have comment or be unexported (golint)
    • Line 25: warning: exported method OpenShaderResourceAction.Run should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!