github.com/Johnny2210/revive@v1.0.8-0.20210625134200-febf37ccd0f5/testdata/golint/docs_test.go (about) 1 // This file ends in _test.go, so we should not warn about doc comments. 2 // OK 3 4 package pkg 5 6 import "testing" 7 8 type H int 9 10 func TestSomething(t *testing.T) { 11 } 12 13 func TestSomething_suffix(t *testing.T) { 14 } 15 16 func ExampleBuffer_reader() { 17 }