Re: [go-nuts] Unused code warnings

2018-01-24 Thread mrx
On Tue, Jan 23, 2018 at 2:53 PM, Paul Jolly wrote: > Take a look at unused: > > https://github.com/dominikh/go-tools > > That will help you to eliminate unused code pre compile time. > Thanks a lot, that will help for sure! // Patrik -- You received this message because you are subscribed to

Re: [go-nuts] Unused code warnings

2018-01-23 Thread Paul Jolly
Take a look at unused: https://github.com/dominikh/go-tools That will help you to eliminate unused code pre compile time. On 23 Jan 2018 13:38, "Patrik Iselind" wrote: > Hi guys, > > Is there a way to get `go install` to error out if there is unused > functions in the code base? This should of

[go-nuts] Unused code warnings

2018-01-23 Thread Patrik Iselind
Hi guys, Is there a way to get `go install` to error out if there is unused functions in the code base? This should of course only apply if package == main and the functions doesn't come from a library. This could reduce the amount of code that i have to maintain as a code block owner. The rea