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

feat: ignore nil argument in Panics #17

Merged
merged 1 commit into from
Mar 29, 2024
Merged

feat: ignore nil argument in Panics #17

merged 1 commit into from
Mar 29, 2024

Conversation

tmzane
Copy link
Member

@tmzane tmzane commented Mar 29, 2024

Rational: starting with Go 1.21, panic(nil) is a runtime error.

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b5b7ed3) to head (7bac443).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           40        40           
=========================================
  Hits            40        40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tmzane tmzane merged commit d3d0f75 into main Mar 29, 2024
6 checks passed
@tmzane tmzane deleted the panic-nil-arg branch March 29, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant