1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/testdata/exported-issue-552.go

11 lines
274 B
Go
Raw Normal View History

// Package golint comment
package golint
// Test cases for enabling checks of exported methods of private types in exported rule
type private struct {
}
// MATCH /comment on exported method private.Method should be of the form "Method ..."/
func (p *private) Method() {
}