On Sunday, 27 September 2020 at 20:46:19 UTC+2 Glen Mailer wrote: > I'm playing about with some go tooling, and I wanted to parse a package > with type information to inspect it and derive some insights from the data. > [...] > I can't seem to find a way to inspect the resolved AST along with types - > am I missing something or do I need to do more legwork myself? >
I solved it like this: https://github.com/dtgorski/typex/blob/master/internal/packagist.go#L63 dtg -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4c23db69-e9ea-4f49-a89c-d58d3a2426d4n%40googlegroups.com.