// Some - some interface
type Some interface {
// Correct - should do all correct
Correct()
// not valid format of comment
SemiCorrect()
NonCorrect() // no documentation
}
suggest to add checkPublicInterface to exported rule to check documentation on interface method declaration,
so here SemiCorrect() has not valid comment, and NonCorrect() doesn't have it at all
For now this code is valid:
suggest to add
checkPublicInterface
toexported
rule to check documentation on interface method declaration, so hereSemiCorrect()
has not valid comment, andNonCorrect()
doesn't have it at all