Skip to content

Commit

Permalink
Remove useless comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
denisvmedia authored Dec 28, 2023
1 parent 0c55270 commit e0c06ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rule/add-constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ func (w *lintAddConstantRule) checkNumLit(kind string, n *ast.BasicLit) {
})
}

// isStructTag checks if the given BasicLit is part of a struct tag.
func (w *lintAddConstantRule) isStructTag(n *ast.BasicLit) bool {
_, ok := w.structTags[n]
return ok
Expand Down

0 comments on commit e0c06ad

Please sign in to comment.