Skip to content

Conversation

@hyprh
Copy link
Contributor

@hyprh hyprh commented Nov 27, 2025

No description provided.

@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

❌ Patch coverage is 45.76271% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.56792%. Comparing base (7d13294) to head (3ef37e6).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
storage/mongodb/mongodb.go 39.62264% 32 Missing ⚠️

❌ Your patch check has failed because the patch coverage (45.76271%) is below the target coverage (85.00000%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main        #757         +/-   ##
===================================================
+ Coverage   87.39556%   87.56792%   +0.17235%     
===================================================
  Files            278         283          +5     
  Lines          36146       36623        +477     
===================================================
+ Hits           31590       32070        +480     
+ Misses          2977        2969          -8     
- Partials        1579        1584          +5     
Flag Coverage Δ
unittests 87.56792% <45.76271%> (+0.17235%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

type ClientBuilderOpt func(*ClientBuilderOpts)

// ClientBuilderOpts is the options for the mongodb client.
type ClientBuilderOpts struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

这个options考虑单独搞一个option.go的文件来放,查看配置时方便点

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

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.

2 participants