Commit Graph

184 Commits (83a776a190f07d20000382fea4b0a1fcee96084c)

Author SHA1 Message Date
zzZZzzz888 4835e4fe51
fix: coredump: goctl model mysql ddl --src user_base.sql --dir . area… (#3777)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
12 months ago
guangwu 05020a92e8
fix: primary key unique key simultaneously exist cacheIdPrefix duplicate (#3763)
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
12 months ago
POABOB a1bbac3c6c
fix: prevent a crash if there is a unique key constraint with a nil field. (#3770) 12 months ago
Kevin Wan 22c98beb24
feat: add dbtest to facility db test (#3768) 12 months ago
null 5630bce286
Fix incorrect description in documentation (#3745) 1 year ago
MarkJoyMa c71b753c78
fix: goctl FindOne error (#3731) 1 year ago
kesonan 72dd2736f5
change command-line arg 'table' from string to slice type (#3707) 1 year ago
MarkJoyMa 00db97fcc1
feat: model add withSession (#3658) 1 year ago
Kevin Wan 42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 1 year ago
cary 81ae7d36b5
Support for adding ignore_columns parameters to the goctl model pg (#3427) 1 year ago
kesonan d84dfe1b20
fix: goctl unit test (#3636) 1 year ago
POABOB 33f6d7ebb8
fix: goctl pg gen will extract all fields when the same table name exists in different schemas (#3496) (#3517) 1 year ago
guangwu e8c1e6e09b
fix: log format error (#3409) 1 year ago
Kevin Wan 2a33b74b35
chore: coding style (#3362) 1 year ago
anqiansong 45bb547a81
(goctl)fix: #3328 (#3348)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
1 year ago
anqiansong 3ca40001b4
feat(goctl): Add with session for model tpl (#3272) 2 years ago
guangwu 63368d8b0c
io/ioutil deprecated (#3217) 2 years ago
anqiansong 1904af2323
feat(goctl): Support gateway sample generation (#3049) 2 years ago
Kevin Wan f77e2c9cfa
chore: add more tests (#3014) 2 years ago
taobig 37cb00d789
Export cache.Option param to NewXXXModel() (#2995) 2 years ago
qiying.wang 148afcf1a7 chore: remove redundant prefix of "error: " in error creation 2 years ago
strong 0fe84b225c
fix(goctl): unsupported database type: bpchar (#2840) 2 years ago
Kevin Wan eab904af64
chore: update goctl interface{} to any (#2819)
* chore: update goctl interface{} to any

* chore: update goctl interface{} to any
2 years ago
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
foliet a2df1bb164
fix: modify the generated update function and add return values for update and delete functions (#2793) 2 years ago
chowyu12 ce1c02f4f9
Feat: ignorecolums add sort (#2648)
* add go-grpc_opt and go_opt for grpc new command

* feat: remove log when disable log

* feat: add sort

Co-authored-by: zhouyy <zhouyy@ickey.cn>
2 years ago
骑着毛驴背单词 81831b60a9
fix(change model template file type): All model template variables ar… (#2573)
* fix(change model template file type): All model template variables are stored in tpl format files with the same name as the template generated using the template init command

* fix(change model template file type): All model template variables are stored in tpl format files with the same name as the template generated using the template init command

Co-authored-by: qilvge <qilvge@.qilvge.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
王哈哈 dac3600b53
Modify comment syntax error (#2572) 2 years ago
foliet 07128213d6
chore: update "DO NOT EDIT" format (#2559)
* chore: update "DO NOT EDIT" format

* Update readme.md

* Update head.go
2 years ago
anqiansong 9504d30049
fix(goctl): fix redundant import (#2551) 2 years ago
anqiansong 7c9ef3ca67
fix(goctl): Fix issues (#2543)
* fix #2541

* fix #2432

* Fix review comment

* foramt code

* foramt code
2 years ago
wuleiming2009 ea52fe2e0d
Fix the wrong key about FindOne in mongo of goctl. (#2523) 2 years ago
anqiansong 1b87f5e30d
Fix mongo insert tpl (#2512) 2 years ago
foliet b51339b69b
fix(mongo): fix file name generation errors (#2479)
Before this, no matter what style is used, lowercase file names without underscores will be generated.
2 years ago
chen quan 4f6a900fd4
fix(goctl): fix the unit test bug of goctl (#2458) 2 years ago
jesse.tang 1b344a8851
cleanup: deprecated field and func (#2416)
* cleanup: deprecated field and func

* fmt import order
2 years ago
anqiansong 2cde970c9e
feat(goctl):Add ignore-columns flag (#2407)
* fix #2074,#2100

* format code

* fix #2397

* format code

* Support comma spliter

* format code
2 years ago
Kevin Wan d935c83a54
feat: support baggage propagation in httpc (#2375)
* feat: support baggage propagation in httpc

* chore: use go 1.16

* chore: use go 1.16

* chore: use go ^1.16

* chore: remove deprecated
2 years ago
anqiansong f70805ee60
Add strict flag (#2248)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
yiGmMk fb6d7e2fd2
fix #2301,package conflict generated by ddl (#2307)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
fyyang 62abac0b7e
fix: unsignedTypeMap type error (#2246) 2 years ago
anqiansong 1b51d0ce82
fix: fix #2102, #2108 (#2131)
* g4 code generation

* Update grammar

* g4 code generation

* fix #2108

* fix #2102

* Remove comments
2 years ago
Richard Yi 6e50c87dca
fix: generated sql query fields do not match template (#2004)
* Fix typo

* Match generated sql query fields with template
2 years ago
Kevin Wan 1c09db6d5d
chore: coding style (#2120) 2 years ago
Kevin Wan 97a171441d
chore: remove blank lines (#2117)
* chore: remove blank lines

* chore: refactor
2 years ago
虫子樱桃 725e6056e1
feat:`goctl model mongo ` add `easy` flag for easy declare. (#2073)
* fix:typo in readme.md

* feat:`goctl model mongo ` add `easy` flag to generate code with Auto generated CollectionName for easy declare.

* fix:`goctl api doc ` when referenced api file contains no route,will generate an empty markdown file.

* code: adjust code.

Co-authored-by: 虫子樱桃 <czyt@w.cn>
2 years ago
taobig c92400ead2
fix 当表有唯一键时,update()的形参和实参不一致 (#2010) 2 years ago
虫子樱桃 76086fc717
fix:typo in readme.md (#2061)
Co-authored-by: 虫子樱桃 <czyt@w.cn>
2 years ago
anqiansong 93b3f5030f
chore: Add command desc & color commands (#2013)
* Add link & Color sub-commands

* Color sub-commands for unix-like OS

* Remove useless code

* Remove redundant dependency
2 years ago
anqiansong b44e8f5c75
fix #1977 (#2034) 2 years ago