dst
dst copied to clipboard
Is it support to get `go/types.Object` through `Ident`
How to implement such code as followed using go/ast:
pkg.TypesInfo.ObjectOf(ident)
Sorry, can you go into a bit more detail what you want to do? I'm having trouble understanding the question. It's possible you might be looking for the mappings feature? https://github.com/dave/dst#mappings