Re: [go-nuts] accidental 'testing' import

2017-05-10 Thread Brian Fallik
Hi, On Wed, May 10, 2017 at 11:10 AM, Jan Mercl <0xj...@gmail.com> wrote: > On Wed, May 10, 2017 at 5:01 PM Brian Fallik wrote: > >> Or would this make sense as >> an external tool, and does one already exist? > > Maybe grep of the output of 'go list' may be helpful: >

Re: [go-nuts] accidental 'testing' import

2017-05-10 Thread Jan Mercl
On Wed, May 10, 2017 at 5:01 PM Brian Fallik wrote: > Or would this make sense as > an external tool, and does one already exist? Maybe grep of the output of 'go list' may be helpful: https://golang.org/cmd/go/#hdr-List_packages -- -j -- You received this message because

[go-nuts] accidental 'testing' import

2017-05-10 Thread Brian Fallik
Hi, Every 6 months or so a developer on our team will inadvertently import a package that establishes an import chain from a production binary to the 'testing' package. This is a potential problem for a few reasons. It makes the binaries larger, it pollutes the cli flags with testing flags, it