[Starlingx-discuss] Linter for Go?

Dean Troyer dtroyer at gmail.com
Wed Dec 19 18:25:18 UTC 2018


> On 12/19/18, 11:50 AM, "Saul Wold" <sgw at linux.intel.com> wrote:
>     I am curious, do we have a linter for Go enabled in Zuul?  Does it make
>     sense to add one now that we are seeing some Go code being added to the
>     project?

The OpenStack Golang Project Testing Interface (PTI)[0] calls out
using go fmt for this.  I am not aware of any pre-existing upstream
jobs we could crib from to do this.

I did implement a reference/test for the PTI in the old golang-client
project[1] with a make interface, using tox is easy enough.

dt

[0] https://governance.openstack.org/tc/reference/pti/golang.html
[1] https://git.openstack.org/cgit/openstack/golang-client/tree/Makefile

-- 

Dean Troyer
dtroyer at gmail.com



More information about the Starlingx-discuss mailing list