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 {
166166 Original string
167167}
168168
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
170170// alongside Diagnostic if you wish.
171171func (v * Violation ) Issue (fSet * token.FileSet ) GolangIssue {
172172 issue := GolangIssue {
@@ -175,7 +175,7 @@ func (v *Violation) Issue(fSet *token.FileSet) GolangIssue {
175175 Message : v .Message (),
176176 }
177177
178- // original expression (useful for debug & requied for replace)
178+ // original expression (useful for debug & required for replace)
179179 var buf bytes.Buffer
180180 printer .Fprint (& buf , fSet , v .callExpr )
181181 issue .Original = buf .String ()
You can’t perform that action at this time.
0 commit comments