Gofmt formats Go programs. We run gofmt -s
on your code, where -s
is for the "simplify" command
No problems detected. Good job!
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!
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.
Golint is a linter for Go source code.
-
github-sprinter/manifest.go
- Line 1: warning: don't use an underscore in package name (golint)
- Line 40: warning: exported type Manifest should have comment or be unexported (golint)
- Line 45: warning: exported type Sprint should have comment or be unexported (golint)
- Line 52: warning: exported method Sprint.GenerateMilestones should have comment or be unexported (golint)
- Line 98: warning: exported type Duration should have comment or be unexported (golint)
- Line 100: warning: exported method Duration.Parse should have comment or be unexported (golint)
- Line 104: warning: exported type Term should have comment or be unexported (golint)
- Line 109: warning: exported method Term.Parse should have comment or be unexported (golint)
- Line 121: warning: exported type Ignore should have comment or be unexported (golint)
- Line 126: warning: exported method Ignore.OmitIgnored should have comment or be unexported (golint)
- Line 171: warning: exported type Weekday should have comment or be unexported (golint)
- Line 173: warning: exported method Weekday.Parse should have comment or be unexported (golint)
- Line 177: warning: exported type Repo should have comment or be unexported (golint)
-
github-sprinter/milestone.go
- Line 1: warning: don't use an underscore in package name (golint)
- Line 9: warning: exported type Milestone should have comment or be unexported (golint)
- Line 19: warning: exported function NewMilestone should have comment or be unexported (golint)
- Line 38: warning: exported method Milestone.ParseDate should have comment or be unexported (golint)
-
github-sprinter/sprinter.go
- Line 1: warning: don't use an underscore in package name (golint)
- Line 29: warning: exported type MilestoneService should have comment or be unexported (golint)
- Line 31: warning: exported type IssueService should have comment or be unexported (golint)
- Line 37: warning: exported type Sprinter should have comment or be unexported (golint)
- Line 42: warning: exported type Issue should have comment or be unexported (golint)
- Line 47: warning: exported method MilestoneService.Create should have comment or be unexported (golint)
- Line 69: warning: exported method MilestoneService.List should have comment or be unexported (golint)
- Line 109: warning: exported method MilestoneService.Delete should have comment or be unexported (golint)
- Line 121: warning: exported method IssueService.ListByMilestone should have comment or be unexported (golint)
- Line 149: warning: exported function NewSprinter should have comment or be unexported (golint)
- Line 180: warning: exported method Sprinter.ApplyManifest should have comment or be unexported (golint)
Checks whether your project has a LICENSE file.
No problems detected. Good job!
IneffAssign detects ineffectual assignments in Go code.
No problems detected. Good job!
Misspell Finds commonly misspelled English words
No problems detected. Good job!