Skip to content

Commit

Permalink
Mention how to get imports right in IDEA or Goland.
Browse files Browse the repository at this point in the history
  • Loading branch information
porridge committed Jan 2, 2020
1 parent c3bf32b commit d1878ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions STYLEGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ Executing `make lint` uses `goimports` which is configured to ensure this struct

`make imports` is also a useful tool in order to help create this structure. If all imports are in 1 import block (no lines of separation), `make imports` will modify the file in the appropriate order and structure.

If you use Goland or Intellij IDEA, the following settings will match the above requirements:

![Intellij imports](intellij-imports.png)

### Naming

Expand Down

0 comments on commit d1878ae

Please sign in to comment.