Skip to content

Releases: metal3d/goreorder

0.2.1 - cleanup and fixes

10 May 13:35
a8c1cbd
Compare
Choose a tag to compare

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

28 Jun 07:11
0.2.0
a84165a
Compare
Choose a tag to compare

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

27 Jun 10:32
0.2.0-rc1
0494211
Compare
Choose a tag to compare

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 and init function separatly
  • Adding diff output
  • Better error handling
  • And lot of things

Adding init and main placement + read config file from project root

27 Jun 08:47
0.2.0-alpha3
e3ce02a
Compare
Choose a tag to compare
  • This allows to place init and main 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

26 Jun 23:18
0.2.0-alpha2
6cbfdc3
Compare
Choose a tag to compare
Pre-release

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

23 Jun 09:05
0.2.0-alpha1
b90ca79
Compare
Choose a tag to compare
A possible RC 1 Pre-release
Pre-release

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

08 May 09:28
605a2cc
Compare
Choose a tag to compare

A good first version that worked on production codes.

0.0.1-alpha

18 Apr 12:20
2716880
Compare
Choose a tag to compare

Experimental, use with caution