Closed mszostok closed 2 years ago
Merging #77 (5bb2075) into master (09d6d35) will decrease coverage by
0.61%
. The diff coverage is33.33%
.
@@ Coverage Diff @@
## master #77 +/- ##
==========================================
- Coverage 92.96% 92.35% -0.62%
==========================================
Files 5 5
Lines 327 327
==========================================
- Hits 304 302 -2
- Misses 13 14 +1
- Partials 10 11 +1
Impacted Files | Coverage Δ | |
---|---|---|
pkg/astutil/astutil.go | 80.00% <33.33%> (-4.45%) |
:arrow_down: |
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more
thanks for help, merging
Hi @incu6us! First, thanks for this great tool! I started using it but I ran into an issue with Go 1.18. After investigation, I detected the problem and here is the PR to fix this.
Overview
Currently, the
goimports-reviser
cannot be executed against Go code in 1.18 that uses build tags. In such case, we got error:Investigation
The problem is that they removed support for
// +build
tags. According to the 1.18 release notes:source: https://tip.golang.org/doc/go1.18