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

refactor: use type switch with assignment #9

Merged
merged 1 commit into from
Mar 1, 2022

Commits on Mar 1, 2022

  1. refactor: use type switch with assignment

    This minor refactor utilizes type switch assignments instead of basic switch statements. This results in less allocations. In addition it dumps the usage of fmt.Sprintf to format bytes as a string.
    james-d-elliott committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    fd7f9f3 View commit details
    Browse the repository at this point in the history