Skip to content

Commit

Permalink
removes unused receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
chavacava authored Sep 24, 2023
1 parent b625f09 commit da9c76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rule/add-constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (w lintAddConstantRule) checkFunc(expr *ast.CallExpr) {
}
}

func (_ lintAddConstantRule) getFuncName(expr *ast.CallExpr) string {
func (lintAddConstantRule) getFuncName(expr *ast.CallExpr) string {
switch f := expr.Fun.(type) {
case *ast.SelectorExpr:
switch prefix := f.X.(type) {
Expand Down

0 comments on commit da9c76c

Please sign in to comment.