-
Notifications
You must be signed in to change notification settings - Fork 972
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
chore: cleanup go.mod file require sections #3103
Conversation
This PR does not change any of the dependency, it only reorders the go.mod file into a direct and undirect import section, like go do since 1.17. The reason your go.mod file got so many require sections is because during the 1.16 to 1.17 go.mod styling transition you had different contributors updating the go.mod file with pre 1.17 and post 1.17 releases of go. See https://go.dev/doc/modules/gomod-ref: > At go 1.17 or higher: section for a description of what changed.
a350a3b
to
e3e1bb2
Compare
Btw the way to fix this bug is to search and replace:
with literally nothing, this creates one single big |
Similar celestiaorg/celestia-core#1172 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3103 +/- ##
==========================================
+ Coverage 51.08% 51.34% +0.26%
==========================================
Files 177 177
Lines 11139 11139
==========================================
+ Hits 5690 5719 +29
+ Misses 4943 4925 -18
+ Partials 506 495 -11 ☔ View full report in Codecov by Sentry. |
This PR does not change any of the dependency, it only reorders the go.mod file into a direct and undirect import section, as go versions do since 1.17. The reason your go.mod file got so many require sections is because during the 1.16 to 1.17 go.mod styling transition you had different contributors updating the go.mod file with pre 1.17 and post 1.17 releases of go. See https://go.dev/doc/modules/gomod-ref: > At go 1.17 or higher: section for a description of what changed. Co-authored-by: ramin <[email protected]>
This PR does not change any of the dependency, it only reorders the go.mod file into a direct and undirect import section, as go versions do since 1.17.
The reason your go.mod file got so many require sections is because during the 1.16 to 1.17 go.mod styling transition you had different contributors updating the go.mod file with pre 1.17 and post 1.17 releases of go.
See https://go.dev/doc/modules/gomod-ref:
section for a description of what changed.