Re: [go-nuts] Some questions on using the "golang.org/x/tools/go/packages" package

2019-11-23 Thread Paul Jolly
AFK but you might also like to post to https://groups.google.com/forum/#!forum/golang-tools (per https://github.com/golang/go/wiki/golang-tools) On Sat, 23 Nov 2019, 15:46 T L, wrote: > The packages.Config.ParseFileParseFile docs ( > https://godoc.org/golang.org/x/tools/go/packages#Config) says

[go-nuts] Some questions on using the "golang.org/x/tools/go/packages" package

2019-11-23 Thread T L
The packages.Config.ParseFileParseFile docs (https://godoc.org/golang.org/x/tools/go/packages#Config) says // An application may supply a custom implementation of ParseFile // to change the effective file contents or the behavior of the parser, // or to modify the syntax tree. For exa