blob: e2377bd67ac399d3d3a00316463e930b21670646 [file] [log] [blame]
// Test that we don't nag for comments on common methods.
// OK
// Package pkg ...
package pkg
import "net/http"
// T is ...
type T int
func (T) Error() string { return "" }
func (T) String() string { return "" }
func (T) ServeHTTP(w http.ResponseWriter, r *http.Request) {}
func (T) Read(p []byte) (n int, err error) { return 0, nil }
func (T) Write(p []byte) (n int, err error) { return 0, nil }
func (T) Unwrap(err error) error { return nil }