All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- go-groups correctly sorts imports with inline comments
- go-groups correctly detects generated code and ignores generated code by default
- Added -g flag to instruct go-groups to analyze and include generated code
- go-groups now detects generated code and ignores generated code by default
- Added golangci-lint linter, Makefile, and fixed linter warnings
- go-groups now runs gofmt over the input files, unless disabled by the
-f
flag.
- Fixed go-groups stripping the dot from dot imports (thanks @jdroot)
- Fixed go-groups removing comments and other content from import blocks
Initial public release