anqiansong
58787746db
fix: Useless delete cache logic in update ( #1923 )
...
* Fix bug: useless delete cache logic in update
* Format code
2022-05-23 09:12:06 +08:00
Kevin Wan
dfd58c213c
fix: model generation bug on with cache ( #1743 )
...
* fix: model generation bug on with cache
* chore: refine template
* chore: fix test failure
2022-04-02 15:36:06 +08:00
Kevin Wan
6dccfa29fd
feat: let model customizable ( #1738 )
2022-04-01 22:19:52 +08:00
Fyn
f4471846ff
feat(goctl): supports model code 'DO NOT EDIT' ( #1728 )
...
Resolves : #1710
2022-04-01 14:48:45 +08:00
Mikael
d8054d8def
fix -cache=true insert no clean cache ( #1672 )
...
* fix -cache=true insert no clean cache
* fix -cache=true insert no clean cache
2022-03-23 18:55:16 +08:00
Fyn
17e0afeac0
fix(goctl): model method FindOneCtx should be FindOne ( #1656 )
2022-03-17 17:16:53 +08:00
xybingbing
09e6d94f9e
FindOneBy 漏 Context ( #1642 )
2022-03-14 18:56:26 +08:00
Kevin Wan
e31128650e
Revert " 🐞 fix(gen): pg gen of insert ( #1591 )" ( #1598 )
...
This reverts commit cc4c4928e0
.
2022-03-01 20:27:59 +08:00
toutou_o
cc4c4928e0
🐞 fix(gen): pg gen of insert ( #1591 )
...
Co-authored-by: kurimi1 <d0n41df@gmail.com>
2022-03-01 19:53:23 +08:00
Kevin Wan
aa29036cb3
feat: support ctx in sql model generation ( #1551 )
2022-02-17 10:28:55 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
2022-01-04 15:51:32 +08:00
anqiansong
b0573af9a9
Update template ( #1243 )
2021-11-15 21:02:11 +08:00
anqiansong
69a4d213a3
Fix issue 1205 ( #1211 )
...
* fix #1205
* move builder into stores
* remove xrom
* Remove unused code
* Remove unused code
* refactor builderx to builder
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2021-11-07 22:44:37 +08:00
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>
2021-07-23 11:45:15 +08:00
anqiansong
dda7666097
Feature mongo gen ( #546 )
...
* add feature: mongo code generation
* upgrade version
* update doc
* format code
* update update.tpl of mysql
2021-03-12 17:49:28 +08:00
anqiansong
d894b88c3e
feature 1.1.5 ( #411 )
2021-03-01 17:29:07 +08:00
kingxt
e6ef1fca12
Code optimized ( #523 )
...
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
* add more comment
* add comment
* add comment
* add comments for rpc tool
* add comments for model tool
* add comments for model tool
* add comments for model tool
* add comments for config tool
* add comments for config tool
* add comments
* add comments
* add comments
* add comments
* add comment
* remove rpc main head info
* add comment
* optimized
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-02-26 16:11:47 +08:00
Kevin Wan
42883d0899
fix golint issues, redis methods ( #455 )
2021-02-09 10:58:11 +08:00
anqiansong
6c624a6ed0
Feature model fix ( #362 )
...
* fix sql builderx adding raw string quotation marks incompatibility bug
* add unit test
* remove comments
* fix sql builderx adding raw string quotation marks incompatibility bug
2021-01-08 12:01:21 +08:00
anqiansong
a3b525b50d
feature model fix ( #296 )
...
* add raw stirng quote for sql field
* remove unused code
2020-12-21 09:43:32 +08:00
Keson
6e57f6c527
feature model interface ( #222 )
...
* make variable declaration more concise
* add model interface
* optimize interface methods
* fix: go test failed
* warp returns
* optimize
2020-11-24 22:36:23 +08:00
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
2020-10-27 22:42:53 +08:00
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
2020-10-25 23:21:55 +08:00
Keson
c9494c8bc7
model support globbing patterns ( #153 )
...
* model support globbing patterns
* optimize model
* optimize model
* format code
2020-10-22 18:33:09 +08:00
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
2020-10-21 14:59:35 +08:00
Keson
7d4a548d29
fix: template cache key ( #121 )
2020-10-12 14:34:11 +08:00
Keson
7e61555d42
Gozero sqlgen patch ( #119 )
...
* merge upstream
* optimize insert logic
* reactor functions
2020-10-11 21:55:44 +08:00
Keson
3a4e1cbb33
fix bug: miss time import ( #36 )
...
* add execute files
* add protoc-osx
* add rpc generation
* add rpc generation
* add: rpc template generation
* optimize gomod cache
* add README.md
* format error
* reactor templatex.go
* update project.go & README.md
* fix bug: miss time import
2020-09-03 13:57:28 +08:00
kevin
6c4a4be5d2
update shorturl doc
2020-08-29 20:27:52 +08:00
kevin
77e23ad65d
add quick example
2020-08-27 22:54:18 +08:00
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
2020-08-19 10:41:19 +08:00
kevin
0a7e0cce77
update package reference
2020-08-08 16:40:10 +08:00
kim
121323b8c3
goctl added
2020-07-29 17:12:04 +08:00