Re: [NEW] devel/govet - lint like tool for lang/go

2015-06-02 Thread Stuart Henderson
On 2015/06/02 01:10, Adam Wolk wrote: On Tue, 26 May 2015 09:12:15 +0100 Stuart Henderson st...@openbsd.org wrote: On 2015/05/22 21:19, Adam Wolk wrote: Hi ports@, $ cat govet/pkg/DESCR Vet examines Go source code and reports suspicious constructs, such as Printf calls whose

Re: [NEW] devel/govet - lint like tool for lang/go

2015-06-02 Thread Dmitrij D. Czarkoff
Adam Wolk said: Tested on amd64 -current snapshot from May 20. The package is based on devel/gocover. I believe it should be called go-vet, not govet. The actual tool is called vet, and the go prefix denotes that it is installed to subdirectory of ${LOCALBASE}/go instead of ${LOCALBASE}/bin.

Re: [NEW] devel/govet - lint like tool for lang/go

2015-06-01 Thread Adam Wolk
On Tue, 26 May 2015 09:12:15 +0100 Stuart Henderson st...@openbsd.org wrote: On 2015/05/22 21:19, Adam Wolk wrote: Hi ports@, $ cat govet/pkg/DESCR Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format

Re: [NEW] devel/govet - lint like tool for lang/go

2015-05-26 Thread Stuart Henderson
On 2015/05/22 21:19, Adam Wolk wrote: Hi ports@, $ cat govet/pkg/DESCR Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. Vet uses heuristics that do not guarantee all reports are genuine problems, but

[NEW] devel/govet - lint like tool for lang/go

2015-05-22 Thread Adam Wolk
Hi ports@, $ cat govet/pkg/DESCR Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. Vet uses heuristics that do not guarantee all reports are genuine problems, but it can find errors not caught by the