mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
Merge conflicts
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package check
|
||||
|
||||
// ErrCheck is the check for the go fmt command
|
||||
type ErrCheck struct {
|
||||
// Errcheck is the check for the errcheck command
|
||||
type Errcheck struct {
|
||||
Dir string
|
||||
Filenames []string
|
||||
}
|
||||
|
||||
// Name returns the name of the display name of the command
|
||||
func (c ErrCheck) Name() string {
|
||||
func (e Errcheck) Name() string {
|
||||
return "errcheck"
|
||||
}
|
||||
|
||||
|
||||
@@ -183,6 +183,7 @@ func newChecksResp(repo string, forceRefresh bool) (checksResp, error) {
|
||||
check.GoLint{Dir: dir, Filenames: filenames},
|
||||
check.GoCyclo{Dir: dir, Filenames: filenames},
|
||||
check.License{Dir: dir, Filenames: []string{}},
|
||||
check.Errcheck{Dir: dir, Filenames: filenames},
|
||||
check.Misspell{Dir: dir, Filenames: filenames},
|
||||
check.IneffAssign{Dir: dir, Filenames: filenames},
|
||||
check.ErrCheck{Dir: dir, Filenames: filenames},
|
||||
|
||||
Reference in New Issue
Block a user