Skip to content

Releases: Xuanwo/gg

v0.3.0

04 Nov 09:15
0c31920
Compare
Choose a tag to compare

[v0.3.0] - 2021-11-04

Added

  • Increase test coverage
  • feat: Add Generator as exported type (#10)

v0.2.0

15 Sep 04:25
v0.2.0
155f39e
Compare
Choose a tag to compare

v0.2.0 - 2021-09-15

Added

  • feat: Add group.AddString support
  • feat: Implement type and type alias support

Changed

  • function without AddBody will not generate empty body anymore.

v0.1.0

08 Sep 10:22
v0.1.0
c94a468
Compare
Choose a tag to compare

v0.1.0 - 2021-09-08

Added

  • feat: Add interface support (#4)
  • feat: Implement AppendFile
  • feat: Field accept both string and Node as input
  • feat: Add typed field support
  • feat: Export logic statement for group
  • feat: Add function call support
  • feat: Allow all body accept interface instead
  • feat: Add defer and function call support
  • Add var decl support
  • feat: Add test case for struct
  • API Redesign

Fixed

  • fix: Struct should not have NamedLineComment
  • fix: struct Field should not return nil
  • fix: Insert a new line before closing struct
  • fix: Insert new line after switch case

Refactor

  • Change return to accept input instead of function call
  • refactor: Make comment as float just like go ast (#6)

v0.0.2

03 Sep 06:02
v0.0.2
c7ec7ee
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release

Added

  • feat: Implement struct support
  • feat: Implement named line comment support

Fixed

  • fix: Comment should be renamed to LineComment

v0.0.1

03 Sep 02:28
v0.0.1
5d29a80
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

v0.0.1 - 2021-09-03

Added

  • Implement basic functions
  • feat: Add omit wrap support