tmthrgd / go-bindata

A small utility which generates Go code from any file. Useful for embedding binary data in a Go program. [Obsolete].
https://golang.org/issue/35950
Other
72 stars 4 forks source link

Add more checks to travis.yml #6

Closed ryboe closed 7 years ago

ryboe commented 7 years ago

Flunk code that doesn't pass gofmt -s. Run go vet. Enable the race detector when running tests. ~Don't run tests in the vendor directory.~ Run staticcheck. Run gosimple. Run unused.

ryboe commented 7 years ago

I think I address all your feedback except for the trailing newline. I can't figure out how to stop my editor from adding that.

ryboe commented 7 years ago

Good suggestions. I learned a few things.

tmthrgd commented 7 years ago

That's been merged in cccbef9dd964f281bc88bc73523dc0eba52cda96. Thank you for your effort. 😄

I'm glad to hear that. I've picked up plenty of tricks over the years and some of them certainly are a tad obscure.