go-goast/goast

Pruning

jamesgarfield opened this issue · 0 comments

Add support for trimming a generated AST down to only what is actually used in the destination package.

This allows for cutting out 'bloat' in production binaries if necessary.