[Starlingx-discuss] Linter for Go?
Folks, 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? Sau!
Some Go projects uses gometalinter, it supports a broad set of linters https://github.com/alecthomas/gometalinter -Erich On 12/19/18, 11:50 AM, "Saul Wold" <sgw@linux.intel.com> wrote: Folks, 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? Sau! _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
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@gmail.com
participants (3)
-
Cordoba Malibran, Erich
-
Dean Troyer
-
Saul Wold