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

utils: use time.Duration.Abs #4217

Merged
merged 1 commit into from
Dec 28, 2023
Merged

utils: use time.Duration.Abs #4217

merged 1 commit into from
Dec 28, 2023

Conversation

marten-seemann
Copy link
Member

This function was added in Go 1.19, and covers some corner cases that our custom implementation didn't.

This function was added in Go 1.19, and covers some corner cases that
our custom implementation didn't.
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d795250) 84.00% compared to head (4a0b949) 84.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4217      +/-   ##
==========================================
- Coverage   84.00%   84.00%   -0.01%     
==========================================
  Files         146      149       +3     
  Lines       15370    15415      +45     
==========================================
+ Hits        12911    12948      +37     
- Misses       1963     1969       +6     
- Partials      496      498       +2     

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

@marten-seemann marten-seemann merged commit 18c591c into master Dec 28, 2023
34 checks passed
@marten-seemann marten-seemann deleted the time-duration-abs branch December 28, 2023 05:10
nanokatze pushed a commit to nanokatze/quic-go that referenced this pull request Feb 1, 2024
This function was added in Go 1.19, and covers some corner cases that
our custom implementation didn't.
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.

None yet

1 participant