Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / stylecheck / testdata / src / CheckExportedTypeDocs / CheckExportedTypeDocs.go
1 package pkg
2
3 // Some type
4 type t1 struct{}
5
6 // Some type // want `comment on exported type`
7 type T2 struct{}
8
9 // T3 is amazing
10 type T3 struct{}
11
12 type (
13         // Some type // want `comment on exported type`
14         T4 struct{}
15         // The T5 type is amazing
16         T5 struct{}
17         // Some type
18         t6 struct{}
19 )
20
21 // Some types
22 type (
23         T7 struct{}
24         T8 struct{}
25 )
26
27 // Some types
28 type (
29         T9 struct{}
30 )
31
32 func fn() {
33         // Some type
34         type T1 struct{}
35 }