File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,15 @@ type unexportedStruct struct {
57
57
NoComment string `json:"noComment"` // want "field NoComment is missing godoc comment"
58
58
}
59
59
60
+ type (
61
+ MultipleTypeDeclaration1 struct {
62
+ NoComment string `json:"noComment"` // want "field NoComment is missing godoc comment"
63
+ }
64
+ MultipleTypeDeclaration2 struct {
65
+ NoComment string `json:"noComment"` // want "field NoComment is missing godoc comment"
66
+ }
67
+ )
68
+
60
69
func FunctionWithStructs () {
61
70
type InaccessibleStruct struct {
62
71
NoComment string `json:"noComment"`
Original file line number Diff line number Diff line change @@ -57,6 +57,15 @@ type unexportedStruct struct {
57
57
NoComment string `json:"noComment"` // want "field NoComment is missing godoc comment"
58
58
}
59
59
60
+ type (
61
+ MultipleTypeDeclaration1 struct {
62
+ NoComment string `json:"noComment"` // want "field NoComment is missing godoc comment"
63
+ }
64
+ MultipleTypeDeclaration2 struct {
65
+ NoComment string `json:"noComment"` // want "field NoComment is missing godoc comment"
66
+ }
67
+ )
68
+
60
69
func FunctionWithStructs() {
61
70
type InaccessibleStruct struct {
62
71
NoComment string `json:"noComment"`
You can’t perform that action at this time.
0 commit comments