dst: github.com/dave/dst/decorator/resolver/gotypes Index | Files

package gotypes

import "github.com/dave/dst/decorator/resolver/gotypes"

Index

Package Files

resolver.go

type DecoratorResolver Uses

type DecoratorResolver struct {
    Uses map[*ast.Ident]types.Object // Types info - must include Uses
}

func New Uses

func New(uses map[*ast.Ident]types.Object) *DecoratorResolver

func (*DecoratorResolver) ResolveIdent Uses

func (r *DecoratorResolver) ResolveIdent(file *ast.File, parent ast.Node, parentField string, id *ast.Ident) (string, error)

Package gotypes imports 3 packages (graph) and is imported by 2 packages. Updated 2019-01-07. Refresh now. Tools for package owners.