You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/analysis/commentstart/testdata/src/a/a.go
+2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ type CommentStartTestStruct struct {
5
5
EmptyJSONTagstring`json:""`
6
6
InlineJSONTagstring`json:",inline"`
7
7
NoCommentstring`json:"noComment"`// want "field NoComment is missing godoc comment"
8
+
Ignoredstring`json:"-"`
9
+
Hyphenstring`json:"-,"`// want "field Hyphen is missing godoc comment"
8
10
9
11
// IncorrectStartComment is a field with an incorrect start to the comment. // want "godoc for field IncorrectStartComment should start with 'incorrectStartComment ...'"
// incorrectStartComment is a field with an incorrect start to the comment. // want "godoc for field IncorrectStartComment should start with 'incorrectStartComment ...'"
0 commit comments