go/types.Interface.NumMethods (method)
9 uses
go/types (current package)
interface.go#L113: func (t *Interface) NumMethods() int { return t.typeSet().NumMethods() }
lookup.go#L309: if T.NumMethods() == 0 {
mono.go#L241: for i := 0; i < typ.NumMethods(); i++ {
golang.org/x/exp/apidiff
compatibility.go#L128: for i := 0; i < t.NumMethods(); i++ {
correspondence.go#L116: return old.NumMethods() == new.NumMethods()
correspondence.go#L260: ms := make([]*types.Func, iface.NumMethods())
correspondence.go#L261: for i := 0; i < iface.NumMethods(); i++ {
golang.org/x/tools/internal/gcimporter
bexport.go#L462: n := t.NumMethods()
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)