Skip to content

Releases: smallnest/gen

v0.9.27 (08/04/2020)

04 Aug 05:05
299c760
Compare
Choose a tag to compare
  • v0.9.27 (08/04/2020)
    • Updated '--exec' mode to provide various functions for processing
    • copy function updated to provide --include and --exclude patterns. Patterns are processed in order, an include preceeding an exclude will take precedence. Multiple include and excludes can be specified. Files ending with .table.tmpl will be processed for each table. Output filenames will be stored in the proper directory, with a name of the table with the suffix of the template extension. Files ending with .tmpl will be processed as a template and the filename will be the name of the template stripped with the .tmpl suffix.
    • When processing templates, files generated with a .go extension will be formatted with the go fmt.

v0.9.26 (07/31/2020)

31 Jul 17:58
a35317d
Compare
Choose a tag to compare
- Release scripting
- Added custom script functions to copy, mkdir, touch, pwd
- Fixed custom script exec example

v0.9.25

26 Jul 22:57
b0b5bcf
Compare
Choose a tag to compare

v0.9.25

- Adhere json-fmt flag for all JSON response so when camel or lower_camel is specified, fields name in GetAll variant and DDL info will also have the same name format
- Fix: Build information embedded through linker in Makefile is not consistent with the variable defined in main file.
- Added --scheme and --listen options. This allows compiled binary to be used behind reverse proxy.
- In addition, template for generating URL was fixed, i.e. when PORT is 80, then PORT is omitted from URL segment.

v0.9.24

13 Jul 12:59
524e196
Compare
Choose a tag to compare
  • v0.9.24 (07/13/2020)
    • Fixed array bounds issue parsing mysql db meta

v0.9.23

10 Jul 14:19
111f65d
Compare
Choose a tag to compare
  • v0.9.23 (07/10/2020)
    • Added postgres types: bigserial, serial, smallserial, bigserial, float4 to mapping.json

v0.9.22

08 Jul 16:54
23e8963
Compare
Choose a tag to compare
  • v0.9.22 (07/08/2020)
    • Modified gogo.proto check to use GOPATH not hardcoded.
    • Updated gen to error exit on first error encountered
    • Added color output for error
    • Added --no-color option for non colorized output

v0.9.21

07 Jul 14:42
bae8869
Compare
Choose a tag to compare

updated version in info and repacked templates

v0.9.20

07 Jul 12:06
e5274f6
Compare
Choose a tag to compare
  • v0.9.20 (07/07/2020)
    • Fixed render error in router.go.tmpl
    • upgraded project to use go.mod 1.14

v0.9.19

07 Jul 04:41
73960c3
Compare
Choose a tag to compare

v0.9.19 Added --windows flag to write files with CRLF windows line endings, otherwise they are all unix based LF line endings

v0.9.18

30 Jun 21:51
677acfb
Compare
Choose a tag to compare
  • v0.9.18 (06/30/2020)
    • Fixed naming in templates away from hard coded model package.