Skip to content

Commit

Permalink
refactoring: remove unused map (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed May 10, 2023
1 parent 38f7edb commit 61ddf87
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (

type analyzer struct {
checkers map[string]*checker.Checker // Available checkers.
imports map[string]checker.Import // Map

withTests bool
withDebug bool
Expand All @@ -27,7 +26,6 @@ func NewAnalyzer() *analysis.Analyzer {
flags := flags()

a := analyzer{
imports: map[string]checker.Import{},
checkers: make(map[string]*checker.Checker),
}

Expand Down

0 comments on commit 61ddf87

Please sign in to comment.