incu6us / goimports-reviser

Right imports sorting & code formatting tool (goimports alternative)
MIT License
611 stars 72 forks source link

Add a new import group called "named" which groups aliased imports (internal and external) #117

Closed ustun-ed closed 6 months ago

ustun-ed commented 1 year ago

Fixes https://github.com/incu6us/goimports-reviser/issues/116

That said, this PR is incomplete as currently it does not have the ability to turn off the named section. I made the modifications to suit my use case for now, so marking this as draft. Feel free to improve this if you find this useful.

It also has a slight modification as to how we separate the project vs company imports. In our style guide, the project imports are lumped into the company imports group.

incu6us commented 1 year ago

hi @ustun-ed great idea, but as I can see, previous features are failing in existing tests

iamralch commented 1 year ago

@ustun-ed any plans for working on this?

ustun-ed commented 1 year ago

@iamralch @incu6us not in the foreseeable future unfortunately