Commit Graph

17 Commits (4382ec0e0d1c60173e362fef5937b15592f978cb)

Author SHA1 Message Date
Kevin Wan 415c4c91fc
fix: model unique keys generated differently in each re-generation (#1771) 3 years ago
anqiansong 8dd764679c
Fix #1765 (#1767)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 3 years ago
anqiansong e57fa8ff53
Fix/issue#1447 (#1458)
* Add data for template to render

* fix #1447

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 89ce5e492b
refactor file|path (#1409)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
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 888551627c
optimize code (#579)
* optimize code

* optimize returns & unit test
4 years ago
anqiansong d894b88c3e
feature 1.1.5 (#411) 4 years ago
anqiansong a3b525b50d
feature model fix (#296)
* add raw stirng quote for sql field

* remove unused code
4 years ago
Kevin Wan 65ee877236
refactor & format code (#255) 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 41964f9d52
gozero template (#147)
* model/rpc generate code from template cache

* delete unused(deprecated) code

* support template init|update|clean|revert

* model: return the execute result for insert and update operation

* // deprecated: containsAny

* add template test

* add default buildVersion

* update build version
4 years ago
kevin dfe6e88529 use goctl template to generate all kinds of templates 4 years ago
kevin f904710811 support api templates 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
miaogaolin 68335ada54
rename file and function name (#74) 4 years ago