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

run golint and add it to tests #15

Merged
merged 2 commits into from
Aug 21, 2018
Merged

run golint and add it to tests #15

merged 2 commits into from
Aug 21, 2018

Conversation

zemirco
Copy link
Collaborator

@zemirco zemirco commented Aug 21, 2018

I've used golint to make some minor improvements to the code. I also added it to the automatic checks at Circle CI.

@zemirco
Copy link
Collaborator Author

zemirco commented Aug 21, 2018

I'm not sure but it looks like unit tests at Circle CI do not run whenever I create a PR. Any idea how to change that?

@zemirco
Copy link
Collaborator Author

zemirco commented Aug 21, 2018

Here is the link https://circleci.com/docs/2.0/oss/#build-pull-requests-from-forked-repositories

@wmnsk
Copy link
Collaborator

wmnsk commented Aug 21, 2018

Thanks @zemirco
No doubt, golinting is important, and i’m happy you care about this.
I was just thinking about file issues to improve code quality, with this report.
https://goreportcard.com/report/github.com/wmnsk/gopcua

I updated the CCI config. Maybe next time it works.

@zemirco
Copy link
Collaborator Author

zemirco commented Aug 21, 2018

Cool thank you! I made another commit and now it seems to work.

@wmnsk
Copy link
Collaborator

wmnsk commented Aug 21, 2018

OK I confirmed golint prints nothing in CCI output.
Would you still have anything in your mind to add to this branch? Otherwise let me merge your changes.

@zemirco
Copy link
Collaborator Author

zemirco commented Aug 21, 2018

No nothing to add.

If you want I could add more checkers like

Maybe adding go vet ./... is a good idea. It's already included and we don't have to install anything.

@wmnsk
Copy link
Collaborator

wmnsk commented Aug 21, 2018

Then I’ll merge this PR.

As for checkers let me consider which to follow. In fact my editor has been telling me some issues but I have not cared so much so far, as I thought no one is interested in this project at this moment...
Anyway I’ll create an issue to track and discuss it.

@wmnsk wmnsk merged commit 44419e3 into gopcua:master Aug 21, 2018
@wmnsk wmnsk mentioned this pull request Aug 22, 2018
7 tasks
@magiconair magiconair added this to the v0.1.0 milestone Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants