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 / CheckExportedFunctionDocs / CheckExportedFunctionDocs.go
1 package pkg
2
3 // whatever
4 func foo() {}
5
6 // Foo is amazing
7 func Foo() {}
8
9 // Whatever // want `comment on exported function`
10 func Bar() {}
11
12 type T struct{}
13
14 // Whatever
15 func (T) foo() {}
16
17 // Foo is amazing
18 func (T) Foo() {}
19
20 // Whatever // want `comment on exported method`
21 func (T) Bar() {}