Skip to content

Commit

Permalink
*: enable unconvert
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Jun 29, 2022
1 parent 472da15 commit e43a93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/linter/unconvert/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (
"golang.org/x/tools/go/loader"
)

type Unconvert struct{}

// Name is the name of the analyzer.
const Name = "unconvert"

// Analyzer is the analyzer struct of unconvert.
var Analyzer = &analysis.Analyzer{
Name: Name,
Doc: "Remove unnecessary type conversions",
Expand Down

0 comments on commit e43a93a

Please sign in to comment.