Skip to content
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 to do static check #6

Merged
merged 2 commits into from
Jun 3, 2018
Merged

Conversation

John-Lin
Copy link
Contributor

@John-Lin John-Lin commented Jun 2, 2018

add go vet to do static check

@codecov
Copy link

codecov bot commented Jun 2, 2018

Codecov Report

Merging #6 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   80.82%   80.82%           
=======================================
  Files           3        3           
  Lines          73       73           
=======================================
  Hits           59       59           
  Misses         12       12           
  Partials        2        2

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54d8b65...0798410. Read the comment docs.

@John-Lin John-Lin force-pushed the johnlin/vet-static-check branch 2 times, most recently from 623cb95 to 989653a Compare June 2, 2018 15:52
Makefile Outdated
@@ -31,12 +32,18 @@ client:
go build ${LDFLAGS} -o ${BINARY}-client . ; \
cd - >/dev/null

vet:
-cd ${BUILD_DIR}; \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are in the project, why we need to cd again ?
We usually call the Makefile ... in the same directory
And the -cd is typo ?

@hwchiu hwchiu requested a review from chenyunchen June 2, 2018 16:26
@hwchiu hwchiu added the enhancement New feature or request label Jun 2, 2018
@John-Lin John-Lin force-pushed the johnlin/vet-static-check branch from 989653a to d44828c Compare June 2, 2018 16:48
@John-Lin John-Lin force-pushed the johnlin/vet-static-check branch from d44828c to 0798410 Compare June 3, 2018 03:51
@John-Lin John-Lin merged commit f76caa8 into master Jun 3, 2018
@hwchiu hwchiu deleted the johnlin/vet-static-check branch June 4, 2018 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants