Releases: metal3d/goreorder
Releases · metal3d/goreorder
0.2.1 - cleanup and fixes
Source code is more readable (yes it is...)
Fixes constructors that were badly placed after reordering.
Full Changelog: 0.2.0...0.2.1
0.2.0 - Rewrite and fixes
This release is now based on a more advanced mode.
- Using Cobra and Viper
- Ability to create a
.goreorder
file containing the configuration - Allows you to specify the sorting order in sources
- diff/patch output in addition to legacy modes (write and standard output)
- Many corrections to the previous approach
Full Changelog: 0.1.0...0.2.0
Stable RC-1 - tested on several projects
This release is ready for RC1
- Use of
.goreorder
file - Fixed problems on bad ordering for types
- Not only for structs, works with any type
- Propose to order
main
andinit
function separatly - Adding diff output
- Better error handling
- And lot of things
Adding init and main placement + read config file from project root
- This allows to place
init
andmain
command outside the others functions (if specified) - The
.goreorder
is now read from the project root even if the command is launched outside the project directory
A possible RC 1 - one more time
This release proposes more fixes and configuration
- allow the use of
.goreorder
file to configure the ordering (see README file) - a lot of fixes and factorization
- more tests to ensure that everything is cover (sometimes not well tested, that's right)
- allow to change the order, you can for example tell goreorder to put var before const, interface after types...
- it now works with any types, not only structs
- and there are many others fixes...
A possible RC 1
This tag is a snapshot of what could be goreorder
in a few moments.
- using cobra
- better place for vars and const
- fixes weird behaviors
0.1.0 - Good first version
A good first version that worked on production codes.
0.0.1-alpha
Experimental, use with caution