Commit Graph

10 Commits (9c4f4f3b4e8dc0eac76504e5f9b504a6fe8c40df)

Author SHA1 Message Date
anqiansong 089cdaa75f
Feature model postgresql (#842)
* Support postgresql generate

* Update template Var

* Support to generate postgresql model

* Support to generate postgresql model

* Update template

Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
anqiansong d894b88c3e
feature 1.1.5 (#411) 4 years ago
Kevin Wan 42883d0899
fix golint issues, redis methods (#455) 4 years ago
Keson 6e57f6c527
feature model interface (#222)
* make variable declaration more concise

* add model interface

* optimize interface methods

* fix: go test failed

* warp returns

* optimize
4 years ago
Keson 607fc3297a
model template fix (#169)
* replace quote

* rpc disable override main.go

* reactor template

* add model flag -style

* add model flag -style

* reactor model  template name of error
4 years ago
Keson 60925c1164
fix bug: generate incomplete model code in case findOneByField (#160)
* fix bug: generate incompletely in case findOneByField

* code break line

* add test

* revert command.go

* add test

* remove incorrect test
4 years ago
Keson 7d4a548d29
fix: template cache key (#121) 4 years ago
Keson 7e61555d42
Gozero sqlgen patch (#119)
* merge upstream

* optimize insert logic

* reactor functions
4 years ago
Keson d21d770b5b
goctl model reactor (#15)
* reactor sql generation

* reactor sql generation

* add console & example

* optimize unit test & add document

* modify default config

* remove test file

* Revert "remove test file"

This reverts commit 81041f9e

* fix stringx.go & optimize example

* remove unused code
4 years ago
kim 121323b8c3 goctl added 4 years ago