-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add go vet
, and gofmt
tests.
#259
Conversation
dde77b3
to
205d0d7
Compare
Might be reasonable to turn on golint in a separate PR since govet and gofmt would be good to have on their own. |
go vet
, golint
and gofmt
tests.go vet
, and gofmt
tests.
Travis now runs `make validate` as first test. Make validate includes all validate tests (go vet, gofmt)
I've removed golint from this PR. as suggested by @ericchiang I'll turn it back on in separate PR with fixing all golint errors. (#307) This is ready for review and merge. |
@@ -133,12 +133,12 @@ func (b *Bundle) LoadFile(file string) kobject.KomposeObject { | |||
|
|||
buf, err := ioutil.ReadFile(file) | |||
if err != nil { | |||
logrus.Fatalf("Failed to read bundles file: ", err) | |||
logrus.Fatalf("Failed to read bundles file: %s ", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
LGTM my end! |
fixes #215
Add
go vet
,golint
andgofmt
tests.Travis now runs
make validate
as first target.make validate
includes all validate tests (go vet, golint, gofmt)TODO:
fix golint errorsadd golint check to travis-ci #307