File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 31
31
endURL = regexp .MustCompile (`[a-z]+://[^\s]+$` )
32
32
)
33
33
34
+ // position is a position inside a comment (might be multiline comment).
35
+ type position struct {
36
+ line int // starts at 1
37
+ column int // starts at 1, byte count
38
+ }
39
+
34
40
// checkComments checks every comment accordings to the rules from
35
41
// `settings` argument.
36
42
func checkComments (comments []comment , settings Settings ) []Issue {
Original file line number Diff line number Diff line change @@ -24,12 +24,6 @@ type Issue struct {
24
24
Replacement string
25
25
}
26
26
27
- // position is a position inside a comment (might be multiline comment).
28
- type position struct {
29
- line int // starts at 1
30
- column int // starts at 1, byte count
31
- }
32
-
33
27
// comment is an internal representation of AST comment entity with additional
34
28
// data attached. The latter is used for creating a full replacement for
35
29
// the line with issues.
You can’t perform that action at this time.
0 commit comments