Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Method ¶
Method returns true if the given type is a named structure that implements the specified method signature. Since you might be referencing types that are hard to look up in the AST packages info, you can just supply the qualified names of the types for your params and return values (e.g. "io.Reader" or "http.Client").
func Signature ¶
Signature accepts a single method and determines whether or not it has the same name, parameter types, and return types as what you provide. Since you might be referencing types that are hard to look up in the AST packages info, you can just supply the qualified names of the types for your params and return values (e.g. "io.Reader" or "http.Client").
Types ¶
This section is empty.