Skip to content

Releases: MathiasMantai/SQL2Interface

Version 1.0.2

17 Sep 14:47
2b38c4f

Choose a tag to compare

Fixes:

  • fixed a bug where only a single combined struct/interface could be created
  • fixed a bug where typescript interfaces where overwritten by go structs

Feat:

  • added the ability to create arbitrary fields for specific tables (types can be specified separately)

Version 1.0.1

17 Sep 09:48
242bd45

Choose a tag to compare

Fix:

  • fixed a bug where go struct of combined tables was empty after conversion

Version 1.0.0

12 Sep 12:49
05cbe5b

Choose a tag to compare

Features:

  • Create typescript interfaces and go structs from sql CREATE statements
  • ignore specific files that should not be converted
  • ignore specific columns per CREATE statements
  • combine multiple table definitions into one interface/struct
  • specify output locations for structs and interfaces separately