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

Go 1.21 import order adjusts #211

Merged
merged 2 commits into from
Aug 11, 2023
Merged

Go 1.21 import order adjusts #211

merged 2 commits into from
Aug 11, 2023

Conversation

semihalev
Copy link
Owner

Go 1.21 has changed the order of imports initialization. This patch adjusts the registration of middlewares to reflect the correct order.

@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Merging #211 (ebf7bf2) into master (9c9cba1) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #211      +/-   ##
==========================================
- Coverage   80.63%   80.57%   -0.07%     
==========================================
  Files          48       48              
  Lines        5360     5302      -58     
==========================================
- Hits         4322     4272      -50     
+ Misses        779      773       -6     
+ Partials      259      257       -2     
Files Changed Coverage Δ
middleware/accesslist/accesslist.go 100.00% <ø> (ø)
middleware/accesslog/accesslog.go 92.85% <ø> (-0.63%) ⬇️
middleware/as112/as112.go 97.05% <ø> (-0.12%) ⬇️
middleware/blocklist/blocklist.go 93.61% <ø> (-0.18%) ⬇️
middleware/cache/cache.go 77.00% <ø> (+0.43%) ⬆️
middleware/chaos/chaos.go 92.45% <ø> (-0.53%) ⬇️
middleware/edns/edns.go 87.65% <ø> (-0.59%) ⬇️
middleware/failover/failover.go 100.00% <ø> (ø)
middleware/forwarder/forwarder.go 100.00% <ø> (ø)
middleware/hostsfile/hostsfile.go 85.36% <ø> (-0.24%) ⬇️
... and 5 more

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@semihalev semihalev merged commit 2f7266f into master Aug 11, 2023
11 checks passed
@semihalev semihalev deleted the go1.21 branch August 12, 2023 21:36
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