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

chore: minor refactors based on static checks #29

Merged
merged 1 commit into from
Oct 30, 2019
Merged

Conversation

rhnvrm
Copy link
Collaborator

@rhnvrm rhnvrm commented Oct 25, 2019

  • unchecked returns fixed (most)
  • remove unused constants
  • remove unsed structs
  • function parameters unused or incorrectly used
  • removed if else chains for error checks
  • use regex MustCompile instead of compile
  • spell checks
  • preallocate slice cap when size known
  • scope issues inside range

- unchecked returns fixed (most)
- remove unused constants
- remove unsed structs
- function parameters unused or incorrectly used
- removed if else chains for error checks
- use regex MustCompile instead of compile
- spell checks
- preallocate slice cap when size known
- scope issues inside range
@rhnvrm
Copy link
Collaborator Author

rhnvrm commented Oct 29, 2019

Updated

@knadh knadh merged commit 7ee7116 into knadh:master Oct 30, 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.

2 participants