package
0.31.0
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Functions

Callee returns the named target of a function call, if any: a function, method, builtin, or variable.
Dependencies returns all dependencies of the specified packages.
IntuitiveMethodSet returns the intuitive method set of a type T, which is the set of methods you can call on an addressable value of that type.
MakeHasher returns Hasher{}.
StaticCallee returns the target (function or method) of a static function call, if any.

# Structs

A Hasher provides a [Hasher.Hash] method to map a type to its hash value.
Map is a hash-table-based mapping from types (types.Type) to arbitrary values.
A MethodSetCache records the method set of each type T for which MethodSet(T) is called so that repeat queries are fast.