go-sqlite / sqlite3

pure-Go sqlite3 file reader
BSD 3-Clause "New" or "Revised" License
140 stars 19 forks source link

sqlite3: apply go-vet fixes #21

Closed sbinet closed 6 years ago

sbinet commented 6 years ago

we could go this way. recently, I went that way: https://github.com/go-hep/hep/blob/master/hep_test.go#L13 ie: a test is run that checks the files are correctly gofmt'ed.

go vet is run automatically with go-1.10.

adamdecaf commented 6 years ago

That's interesting. I've never seen that before, but I kinda like it.

A couple projects of mine use makefiles so I just bundle vet/fmt in make build.

https://github.com/adamdecaf/cert-manage/blob/master/makefile#L17

sbinet commented 6 years ago

My other solution, instead of having one makefile per project (which can become somewhat stale) is to have one program that generates it on the fly and run 'make' on it:

github.com/sbinet/mk