-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 some golint errors #988
Conversation
Signed-off-by: Liam Hampton <liam.hampton@ibm.com>
Signed-off-by: Liam Hampton <liam.hampton@ibm.com>
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.
Thanks for taking the time to do this!
Codecov Report
@@ Coverage Diff @@
## master #988 +/- ##
=======================================
Coverage 73.38% 73.38%
=======================================
Files 32 32
Lines 2435 2435
=======================================
Hits 1787 1787
Misses 539 539
Partials 109 109
Continue to review full report at Codecov.
|
Motivation
After searching the code for some feature clarity during my daily development I was faced with a few linter errors in my IDE. A couple of them seemed to be a fairly easy fix. This will also help boost the go report percentage for
golint
.Changes
Add comments to interfaces missing them and fix what looks to be a typo in
flag_path.go
. Also added a simple format change to keep it consistent with the rest of the code.Testing
This change will not effect any functionality. No test required.
Reviewer Guidelines
I think these comments looks reasonable but if there are any issues I'd be happy to change them :)
Signed-off-by: Liam Hampton liam.hampton@ibm.com