package
1.0.2
Repository: https://github.com/xklalala/go-tools.git
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.
Dereference returns a pointer's element type; otherwise it returns T.
DereferenceR returns a pointer's element type; otherwise it returns T.
FlattenFields recursively flattens T and embedded structs, returning a list of fields.
No description provided by the author
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.
No description provided by the author
No description provided by the author
OPT(dh): IsType is kind of expensive; should we really use it?.
StaticCallee returns the target (function or method) of a static function call, if any.

# Structs

No description provided by the author
A MethodSetCache records the method set of each type T for which MethodSet(T) is called so that repeat queries are fast.