Description

MethodSet returns the method set of type T. It is thread-safe.

If cache is nil, this function is equivalent to types.NewMethodSet(T). Utility functions can thus expose an optional *MethodSetCache parameter to clients that care about performance.

MethodSet is referenced in 15 repositories

github.com/golang/tools go.googlesource.com/tools github.com/audreylim/go-presenter

...