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 the readers to have a single reader class #121

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

mhutchinson
Copy link
Contributor

The strategy for choosing the next leaf to read is now dictated by a
function. This allows much of the logic to be simplified and the getLeaf
function can now become an method of the reader, which avoids needing to
pass in as many parameters.

The strategy for choosing the next leaf to read is now dictated by a
function. This allows much of the logic to be simplified and the getLeaf
function can now become an method of the reader, which avoids needing to
pass in as many parameters.
hammer/clients.go Show resolved Hide resolved
hammer/clients.go Outdated Show resolved Hide resolved
hammer/clients.go Outdated Show resolved Hide resolved
hammer/clients.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.26%. Comparing base (07aa77d) to head (3927f1e).
Report is 36 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #121      +/-   ##
==========================================
+ Coverage   55.99%   60.26%   +4.26%     
==========================================
  Files           8        8              
  Lines         759      609     -150     
==========================================
- Hits          425      367      -58     
+ Misses        265      173      -92     
  Partials       69       69              

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

hammer/clients.go Outdated Show resolved Hide resolved
@mhutchinson mhutchinson merged commit d38e454 into transparency-dev:main Apr 23, 2024
9 checks passed
@mhutchinson mhutchinson deleted the refactorReaders branch April 23, 2024 13:31
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.

3 participants