anqiansong
f70805ee60
Add strict flag ( #2248 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2022-08-28 18:55:52 +08:00
anqiansong
1b51d0ce82
fix: fix #2102 , #2108 ( #2131 )
...
* g4 code generation
* Update grammar
* g4 code generation
* fix #2108
* fix #2102
* Remove comments
2022-07-20 22:49:41 +08:00
Kevin Wan
5bcee4cf7c
fix #1806 ( #1833 )
...
* fix #1806
* chore: refine error text
2022-04-27 00:01:31 +08:00
anqiansong
16c61c6657
chore: Embed unit test data ( #1812 )
...
* Embed unit test data
* Add testdata
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-21 21:49:09 +08:00
anqiansong
8dd764679c
Fix #1765 ( #1767 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-07 10:40:21 +08:00
Kevin Wan
a40254156f
refactor: refactor yaml unmarshaler ( #1517 )
2022-02-09 17:22:52 +08:00
Kevin Wan
4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl ( #1481 )
2022-01-25 23:15:07 +08:00
spectatorMrZ
240132e7c7
Fix pg model generation without tag ( #1407 )
...
1. fix pg model struct haven't tag
2. add pg command test from datasource
2022-01-07 10:45:26 +08:00
Kevin Wan
e267d94ee1
chore: update go-zero to v1.2.5 ( #1410 )
2022-01-03 21:54:53 +08:00
anqiansong
89ce5e492b
refactor file|path ( #1409 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-01-03 21:32:40 +08:00
Kevin Wan
d6ff30a570
chore: fix golint issues ( #1396 )
2021-12-30 17:44:15 +08:00
行者
f5f2097d14
Updated MySQL生成表结构体遇到关键字db部分保持原字段名定义 ( #1369 )
2021-12-26 21:56:04 +08:00
anqiansong
44202acb18
Fix issue #1127 ( #1131 )
...
* fix #1127
* fix #1127
* fixed unit test
* add go keyword converter
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2021-10-13 20:48:47 +08:00
Kevin Wan
2e12cd2c99
coding style ( #1083 )
2021-09-23 11:19:57 +08:00
anqiansong
9a724fe907
Add MustTempDir ( #1069 )
2021-09-21 10:13:43 +08:00
anqiansong
189721da16
Fix issues ( #931 )
...
* fix #929
* fix #925
* add test case
* update model README
* fix #929
* fix #929
* fix #929
* refactor dir
* Adding todo comments
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-08-19 22:47:45 +08:00
Kevin Wan
02adcccbf4
format code ( #884 )
2021-08-09 18:11:08 +08:00
fangjianwei
476026e393
Added database prefix of cache key. ( #835 )
2021-07-22 11:29:09 +08:00
Kevin Wan
e47079f0f4
go format with extra rules ( #821 )
2021-07-17 20:51:23 +08:00
anqiansong
9b2a279948
Fix issues: #725 , #740 ( #813 )
...
* Fix issues: #725 , #740
* Update filed sort
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-16 22:55:39 +08:00
anqiansong
ea4f680052
Fix issue #747 ( #765 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-06-15 18:54:41 +08:00
anqiansong
ea01cc78f0
Optimize model nl ( #686 )
2021-05-12 12:28:23 +08:00
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
2021-04-15 19:49:17 +08:00
anqiansong
888551627c
optimize code ( #579 )
...
* optimize code
* optimize returns & unit test
2021-03-27 17:33:17 +08:00
anqiansong
dd393351cc
patch 1.1.5 ( #530 )
2021-03-01 21:14:07 +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
kingxt
f98c9246b2
Code optimized ( #493 )
2021-02-20 19:50:03 +08:00
Kevin Wan
5e969cbef0
fix golint issues, else blocks ( #457 )
2021-02-09 13:50:21 +08:00
songmeizi
4d53045c6b
improve data type conversion ( #236 )
...
* improve data type conversion
* update doc
2020-12-08 18:06:15 +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
24fb29a356
patch model&rpc ( #207 )
...
* change column to read from information_schema
* reactor generate mode from datasource
* reactor generate mode from datasource
* add primary key check logic
* resolve rebase conflicts
* add naming style
* add filename test case
* resolve rebase conflicts
* reactor test
* add test case
* change shell script to makefile
* update rpc new
* update gen_test.go
* format code
* format code
* update test
* generates alias
2020-11-18 15:32:53 +08:00
Keson
2b7545ce11
spell fix ( #167 )
2020-10-26 16:33:02 +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
kevin
94645481b1
fix golint issues
2020-10-16 10:50:43 +08:00
miaogaolin
ce5961a7d0
fix goctl model ( #61 )
2020-09-11 16:46:45 +08:00
kevin
8dd93d59a0
refactor code
2020-09-03 14:00:09 +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
Keson
db83843558
gocctl model v20200819 ( #18 )
...
* rename snake、came method
* new: generate model from data source
* add change log md
* update model doc
* update doc
* beauty code
2020-08-20 10:29:18 +08:00
kevin
e79c42add1
add go report badge
2020-08-19 16:10:43 +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