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

quicvarint: use int instead of internal protocol.ByteCount type #4356

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

marten-seemann
Copy link
Member

Not sure if int or uint64 would be better here.

- "**/github.com/quic-go/quic-go/quicvarint/*"
- "!$test"
allow:
- $gostd
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a validation here. This package shouldn't need to use any packages outside of the standard library.

Copy link

codecov bot commented Mar 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.80%. Comparing base (ac12689) to head (5114abf).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4356      +/-   ##
==========================================
- Coverage   84.81%   84.80%   -0.01%     
==========================================
  Files         150      150              
  Lines       14287    14287              
==========================================
- Hits        12117    12116       -1     
- Misses       1671     1672       +1     
  Partials      499      499              

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

@marten-seemann marten-seemann merged commit 6325696 into master Mar 19, 2024
34 checks passed
@marten-seemann marten-seemann deleted the quicvarint-internal-types branch March 19, 2024 22:33
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