[go-nuts] Re: Out of memory using golang.org/x/tools/go/packages

2021-07-21 Thread Daniel T. Gorski
> If anyone would kindly help me find what I'm doing wrong, or at least point me to useful resources > explaining how to fix my problem, I would be reaally delighted. Maybe a look at *typex* [1,2] helps. [1] https://github.com/dtgorski/typex [2] https://github.com/dtgorski/typex/blob/master/

[go-nuts] Re: Traversing AST with type information?

2020-09-27 Thread Daniel T. Gorski
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 typ