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 refactor of base64 handling #158

Merged
merged 1 commit into from
Nov 30, 2023
Merged

chore: minor refactor of base64 handling #158

merged 1 commit into from
Nov 30, 2023

Conversation

mccutchen
Copy link
Owner

@mccutchen mccutchen commented Nov 30, 2023

Noticed how inelegant the base64 handling was, mostly due to needing to hard code and handle the valid operations (encode and decode) in two different functions.

Noticed how inelegant the base64 handling was, mostly due to needing to
hard code and handle the valid operations (encode and decode) in two
different functions.
Copy link

codecov bot commented Nov 30, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@d53489d). Click here to learn what that means.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #158   +/-   ##
=======================================
  Coverage        ?   94.91%           
=======================================
  Files           ?        9           
  Lines           ?     1927           
  Branches        ?        0           
=======================================
  Hits            ?     1829           
  Misses          ?       67           
  Partials        ?       31           
Files Coverage Δ
httpbin/handlers.go 99.47% <100.00%> (ø)
httpbin/helpers.go 96.68% <100.00%> (ø)

@mccutchen mccutchen merged commit b63a792 into main Nov 30, 2023
8 checks passed
@mccutchen mccutchen deleted the b64-tweaks branch November 30, 2023 05:55
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.

1 participant