Closed mvrahden closed 8 months ago
Could you provide the issue version of GCI?
Hi, it is version v0.11.0
of GCI. I was using it in combination with golangci-lint v1.54.2
.
Looks like it fixed in https://github.com/daixiang0/gci/issues/174 https://github.com/daixiang0/gci/pull/163/files#diff-74342d74a10a1ff588f6ae1b4e02e5869a759bcdad74b2f41756252ef024b72eR146
I've tested with golang 1.21.4
and gci version 0.11.2
and it works like a charm.
Close as fixed.
Looks like it fixed in https://github.com/daixiang0/gci/issues/174 https://github.com/daixiang0/gci/pull/163/files#diff-74342d74a10a1ff588f6ae1b4e02e5869a759bcdad74b2f41756252ef024b72eR146
I've tested with golang
1.21.4
and gci version0.11.2
and it works like a charm.
I think you meant #163 because #174 is this one.
But it's a great thing. Thanks for spotting it was fixed. I was following this ticket and not 163
The gci fixes infinitely for newer stdlib packages. This original (No.1):
becomes (No.2):
becomes (No.3):
and then becomes No.2 again, and will then never stop fixing. This is problematic in golangci-lint.
Can this please be fixed?