-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix govet error #336
fix govet error #336
Conversation
Codecov Report
@@ Coverage Diff @@
## master #336 +/- ##
=======================================
Coverage 87.73% 87.73%
=======================================
Files 7 7
Lines 1264 1264
=======================================
Hits 1109 1109
Misses 92 92
Partials 63 63 Continue to review full report at Codecov.
|
Makefile
Outdated
@@ -55,6 +55,7 @@ lint: | |||
fi | |||
|
|||
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done; | |||
go vet |
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.
maybe can add new .PHONY:vet
like:
.PHONY: vet
vet:
($GOVET) $(PACKAGES)
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.
and add make vet
at travis script phase:
Lines 19 to 23 in 889705a
script: | |
- make fmt-check | |
- make lint | |
- make build | |
- make test |
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.
ok
@easonlin404 review plz |
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
Describe the PR
fix for govet error and add go vet check.