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

Minor refactoring of ParseRangeString func #279

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Oct 25, 2024

Swap separate if statements for switch statement to reduce gocognit linter score. Overall this doesn't do much, but an upside is that it does group prefix checks in one place.

Swap separate if statements for switch statement to reduce
gocognit linter score. Overall this doesn't do much, but an
upside is that it does group prefix checks in one place.
@atc0005 atc0005 added bug Something isn't working linting range thresholds labels Oct 25, 2024
@atc0005 atc0005 added this to the Next Dev Release milestone Oct 25, 2024
@atc0005 atc0005 self-assigned this Oct 25, 2024
@atc0005 atc0005 merged commit a1f2e80 into development Oct 25, 2024
28 of 29 checks passed
@atc0005 atc0005 deleted the i278-refactor-parse-range-string branch October 25, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant