Index: cmd/vet/method.go |
=================================================================== |
--- a/cmd/vet/method.go |
+++ b/cmd/vet/method.go |
@@ -16,10 +16,13 @@ |
func init() { |
register("methods", |
"check that canonically named methods are canonically defined", |
+ filterCanonicalMethod, |
checkCanonicalMethod, |
funcDecl, interfaceType) |
} |
+func filterCanonicalMethod(f *File) bool { return true } |
+ |
type MethodSig struct { |
args []string |
results []string |