FerretDB
FerretDB copied to clipboard
Adjust `.go` style
Description
Small grammatical fixes...
Two items are atypical corrections...
Two rules with references:
Write out small numbers (unless they are code)
See https://www.scribendi.com/academy/articles/when_to_spell_out_numbers_in_writing.en.html#:~:text=Writing%20Small%20and%20Large%20Numbers,ten%29%20are%20written%20as%20numerals%2e
Should be ; otherwise or . Otherwise
https://study.com/learn/lesson/otherwise-in-a-sentence.html
Readiness checklist
- [ ] I added/updated unit tests (and they pass).
- [ ] I added/updated integration/compatibility tests (and they pass).
- [ ] I added/updated comments and checked rendering.
- [ ] I made spot refactorings.
- [ ] I updated user documentation.
- [ ] I ran
task all, and it passed. - [ ] I ensured that PR title is good enough for the changelog.
- [ ] (for maintainers only) I set Reviewers (
@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields. - [ ] I marked all done items in this checklist.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 50.43%. Comparing base (ef9934e) to head (5f04c2c).
:warning: Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #5493 +/- ##
=======================================
Coverage 50.43% 50.43%
=======================================
Files 172 172
Lines 15066 15066
=======================================
+ Hits 7598 7599 +1
Misses 7036 7036
+ Partials 432 431 -1
| Files with missing lines | Coverage Δ | |
|---|---|---|
| build/version/version.go | 76.42% <100.00%> (ø) |
|
| integration/integration.go | 88.65% <ø> (-0.60%) |
:arrow_down: |
| internal/util/ctxutil/ctxutil.go | 86.04% <ø> (ø) |
... and 1 file with indirect coverage changes
| Flag | Coverage Δ | |
|---|---|---|
| integration | 51.61% <0.00%> (-0.02%) |
:arrow_down: |
| mongodb | 10.84% <0.00%> (ø) |
|
| mongodb-1 | 10.84% <0.00%> (ø) |
|
| postgresql | 50.76% <0.00%> (-0.11%) |
:arrow_down: |
| postgresql-1 | 40.13% <0.00%> (-0.26%) |
:arrow_down: |
| postgresql-2 | 39.39% <0.00%> (ø) |
|
| postgresql-3 | 40.75% <0.00%> (-0.11%) |
:arrow_down: |
| postgresql-4 | 39.70% <0.00%> (-0.15%) |
:arrow_down: |
| postgresql-5 | 39.22% <0.00%> (-0.10%) |
:arrow_down: |
| unit | 16.00% <100.00%> (+0.02%) |
:arrow_up: |
| yugabytedb | 47.46% <0.00%> (-0.05%) |
:arrow_down: |
| yugabytedb-1 | 36.25% <0.00%> (-0.52%) |
:arrow_down: |
| yugabytedb-2 | 35.56% <0.00%> (-0.36%) |
:arrow_down: |
| yugabytedb-3 | 37.80% <0.00%> (+0.33%) |
:arrow_up: |
| yugabytedb-4 | 35.61% <0.00%> (-0.10%) |
:arrow_down: |
| yugabytedb-5 | 36.57% <0.00%> (-0.16%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Components | Coverage Δ | |
|---|---|---|
| clientconn | 57.93% <ø> (ø) |
|
| dataapi | 6.61% <ø> (ø) |
|
| documentdb | 19.83% <ø> (ø) |
|
| handler | 76.38% <ø> (+0.07%) |
:arrow_up: |
:rocket: New features to boost your workflow:
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.