Skip to content

Goimports "local" mode #209

Closed
Closed
@AlekSi

Description

@AlekSi

Specifically, -local flag:

-local string
put imports beginning with this string after 3rd-party packages

That is very useful for projects that follow this grouping style:

import (
  // stdlib

  // third-party

  // other packages of that project
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions