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.
v0.3.0 - 2021-11-04
- Increase test coverage
- feat: Add Generator as exported type (#10)
v0.2.0 - 2021-09-15
- feat: Add group.AddString support
- feat: Implement type and type alias support
- function without
AddBody
will not generate empty body anymore.
v0.1.0 - 2021-09-08
- 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
- 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
- Change return to accept input instead of function call
- refactor: Make comment as float just like go ast (#6)
v0.0.2 - 2021-09-03
- feat: Implement struct support
- feat: Implement named line comment support
- fix: Comment should be renamed to LineComment
- Implement basic functions
- feat: Add omit wrap support