-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
goimports
for Go import auto formatting
To improve the formatting and adhere to Arctic Ice Studio's Go code style `goimports` (1) is now used to automatically format imports: - Only use one import declaration. - Use of the `-local` flag to put imports local imports after 3rd-party packages. - Move all stdlib imports into one group. - Sort all imports. References: (1) https://godoc.org/golang.org/x/tools/cmd/goimports Resolves GH-195
- Loading branch information
1 parent
a3d062a
commit 8a02ae7
Showing
3 changed files
with
42 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters