File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ type GolangIssue struct {
166
166
Original string
167
167
}
168
168
169
- // Issue inteanded to be used only with golangci-lint, bu you can use use it
169
+ // Issue intended to be used only within ` golangci-lint` , bu you can use use it
170
170
// alongside Diagnostic if you wish.
171
171
func (v * Violation ) Issue (fSet * token.FileSet ) GolangIssue {
172
172
issue := GolangIssue {
@@ -175,7 +175,7 @@ func (v *Violation) Issue(fSet *token.FileSet) GolangIssue {
175
175
Message : v .Message (),
176
176
}
177
177
178
- // original expression (useful for debug & requied for replace)
178
+ // original expression (useful for debug & required for replace)
179
179
var buf bytes.Buffer
180
180
printer .Fprint (& buf , fSet , v .callExpr )
181
181
issue .Original = buf .String ()
You can’t perform that action at this time.
0 commit comments