Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecoratorResolver ¶ added in v0.16.0
type DecoratorResolver struct { RestorerResolver resolver.RestorerResolver // contains filtered or unexported fields }
DecoratorResolver is a simple ident resolver that parses the imports block of the file and resolves qualified identifiers using resolved package names. It is not possible to resolve identifiers in dot-imported packages without the full export data of the imported package, so this resolver will return an error if it encounters a dot-import. See gotypes.DecoratorResolver for a dot-imports capable ident resolver.
func New ¶ added in v0.16.0
func New() *DecoratorResolver
func WithResolver ¶ added in v0.16.0
func WithResolver(resolver resolver.RestorerResolver) *DecoratorResolver
Click to show internal directories.
Click to hide internal directories.