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

Fix some golint errors #988

Merged
merged 3 commits into from Dec 14, 2019
Merged

Conversation

liamchampton
Copy link
Contributor

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

Signed-off-by: Liam Hampton <liam.hampton@ibm.com>
Signed-off-by: Liam Hampton <liam.hampton@ibm.com>
@liamchampton liamchampton requested a review from a team as a code owner December 12, 2019 21:43
Copy link
Member

@rliebz rliebz left a 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
Copy link

codecov bot commented Dec 14, 2019

Codecov Report

Merging #988 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #988   +/-   ##
=======================================
  Coverage   73.38%   73.38%           
=======================================
  Files          32       32           
  Lines        2435     2435           
=======================================
  Hits         1787     1787           
  Misses        539      539           
  Partials      109      109
Impacted Files Coverage Δ
errors.go 87.5% <ø> (ø) ⬆️
category.go 87.5% <ø> (ø) ⬆️
flag_path.go 66.66% <ø> (ø) ⬆️
help.go 85.22% <100%> (ø) ⬆️

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 f1a3d56...67d8dbf. Read the comment docs.

@coilysiren coilysiren merged commit 986e2c1 into urfave:master Dec 14, 2019
@coilysiren coilysiren mentioned this pull request Dec 24, 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.

None yet

4 participants