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>
3 years ago
anqiansong
b2fea65faa
Optimize model naming ( #910 )
...
* add unit test
* fix #907
* format code
* format code
* format code
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
anqiansong
a1fe8bf6cd
fix missing `updateMethodTemplateFile` ( #924 )
3 years ago
Kevin Wan
9c1ee50497
refactor ( #920 )
3 years ago
anqiansong
14ec29991c
fix #915 ( #917 )
3 years ago
Kevin Wan
f2612db4b1
add stringx.FirstN ( #914 )
3 years ago
anqiansong
dc43430812
optimize grpc generation env check ( #900 )
...
* optimize grpc generation env check
* optimize grpc generation env check
* format code
* fix postgresql data type convert error
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
Kevin Wan
00c5734021
format coding style ( #905 )
3 years ago
lovelly
33f87cf1f0
带下划线的项目,配置文件名字错误。 ( #733 )
3 years ago
Kevin Wan
69935c1ba3
refactor goctl, fix golint issues ( #903 )
3 years ago
Kevin Wan
1fb356f328
refactor goctl ( #902 )
3 years ago
市民233
0b0406f41a
fix: 解决golint 部分警告 ( #897 )
...
* feat: 解决goreportcard的警报
ps: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
* feat: 优化golint警告,将processFieldPrimitiveWithJsonNumber 改成 processFieldPrimitiveWithJSONNumber
unmarshaler.go:248:23: method processFieldPrimitiveWithJsonNumber should be processFieldPrimitiveWithJSONNumber
* feat: 添加 WithCanonicalKeyFunc 注释
* feat: 添加DisableStat的注释
* feat: 添加 RegisterGoctlHome 注释
* feat: 添加 PostgreSqlJoin 注释
* feat: 解决goline警告should not use basic type string as key in context.WithValue问题
* feat: 解决golint警告信息: should not use basic type string as key in context.WithValue
* fix: 定义自定义字段类型,导致go test fail 问题
* update: 恢复原有测试用例
* fix golint warning
3 years ago
_ksco
cc264dcf55
refactor ( #878 )
...
* refactor(tools ): refactor cod
Improve code readability and performance
* fix(tools ): fix len bug
Co-authored-by: ksco <hyang@33.cn>
3 years ago
Kevin Wan
02adcccbf4
format code ( #884 )
3 years ago
anqiansong
a74aaf1823
optimize mongo generation without cache ( fix #881 ) ( #882 )
...
* fix #881
* fix #881
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
Kevin Wan
f7f3730e1a
update goctl version to 1.1.10 ( #874 )
3 years ago
neosu
16cc990fdd
fix context missing ( #872 )
...
Co-authored-by: suzhenpeng <suzhenpeng@ecoplants.tech>
3 years ago
neosu
00061c2e5b
add goctl rpc template home flag ( #871 )
...
Co-authored-by: suzhenpeng <suzhenpeng@ecoplants.tech>
3 years ago
Kevin Wan
6793f7a1de
fix bug that proc.SetTimeToForceQuit not working in windows ( #869 )
3 years ago
anqiansong
c8428a7f65
fix issue #861 ( #862 )
...
* fix issue #861
* fix issue #861
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
toutou_o
a5e1d0d0dc
add correct example for pg's url ( #857 )
3 years ago
anqiansong
8270c7deed
optimize typo ( #855 )
3 years ago
anqiansong
9f4a882a1b
fix issue #831 ( #850 )
...
* fix issue #831
* fix typo
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
anqiansong
cb7b7cb72e
fix issue #836 ( #849 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
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
fangjianwei
476026e393
Added database prefix of cache key. ( #835 )
3 years ago
neosu
e481b63b21
Fix the error stream method name ( #826 )
3 years ago
Kevin Wan
e47079f0f4
go format with extra rules ( #821 )
3 years ago
anqiansong
9b2a279948
Fix issues: #725 , #740 ( #813 )
...
* Fix issues: #725 , #740
* Update filed sort
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
anqiansong
db87fd3239
To generate grpc stream, fix issue #616 ( #815 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
Chen Quan
b0e335e7b0
Fix rpc generator bug ( #799 )
...
* Fix rpc自动生成generate bug
* Delete mock
3 years ago
anqiansong
efdf475da4
Add --go_opt flag to adapt to the version after 1.4.0 of protoc-gen-go ( #767 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
Kevin Wan
60450bab02
disable load & stat logs for goctl ( #773 )
3 years ago
anqiansong
ea4f680052
Fix issue #747 ( #765 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
heyanfu
58cdba2c5d
remove useless annotation ( #761 )
4 years ago
anqiansong
453f949638
replace cache key with colon ( #746 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
kingxt
546fcd8bab
fix #736 ( #738 )
...
* optimize performance
* rename
* rename
* revert
4 years ago
anqiansong
94417be018
Add document & comment for spec ( #703 )
...
* Add document & comment for spec
* remove duplicate field
* use alias
4 years ago
Kevin Wan
f300408fc0
fix golint issues, and optimize code ( #705 )
4 years ago
Bo-Yi Wu
73906f996d
chore(format): change by gofumpt tool ( #697 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Kevin Wan
73417f54db
update goctl version to 1.1.8 ( #696 )
4 years ago
anqiansong
9f6a574f97
resolve #610 ( #684 )
4 years ago
anqiansong
ea01cc78f0
Optimize model nl ( #686 )
4 years ago
anqiansong
d28ac35ff7
fix issue: https://github.com/zeromicro/goctl-swagger/issues/6 ( #680 )
4 years ago
anqiansong
df5ae9507f
replace antlr module ( #672 )
...
* replace antlr module
* refactor version of antlr
4 years ago
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
4 years ago
anqiansong
888551627c
optimize code ( #579 )
...
* optimize code
* optimize returns & unit test
4 years ago
Kevin Wan
155e6061cb
fix golint issues ( #561 )
4 years ago
anqiansong
dda7666097
Feature mongo gen ( #546 )
...
* add feature: mongo code generation
* upgrade version
* update doc
* format code
* update update.tpl of mysql
4 years ago
anqiansong
60c7edf8f8
fix spelling ( #551 )
4 years ago
kingxt
1e4e5a02b2
rename ( #543 )
4 years ago
Kevin Wan
f01472c9ea
fix golint issues ( #535 )
4 years ago
Kevin Wan
af531cf264
fix golint issues ( #533 )
4 years ago
anqiansong
dd393351cc
patch 1.1.5 ( #530 )
4 years ago
anqiansong
d894b88c3e
feature 1.1.5 ( #411 )
4 years ago
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>
4 years ago
kingxt
f98c9246b2
Code optimized ( #493 )
4 years ago
kingxt
f14ab70035
Code optimized ( #474 )
...
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
4 years ago
Kevin Wan
211f3050e9
fix golint issues ( #459 )
4 years ago
Kevin Wan
03b5fd4a10
fix golint issues ( #458 )
4 years ago
Kevin Wan
5e969cbef0
fix golint issues, else blocks ( #457 )
4 years ago
Kevin Wan
42883d0899
fix golint issues, redis methods ( #455 )
4 years ago
Kevin Wan
06f6dc9937
fix golint issues, package comments ( #454 )
4 years ago
Kevin Wan
54414db91d
fix golint issues, exported doc ( #451 )
4 years ago
Kevin Wan
9b0625bb83
fix golint issues ( #450 )
4 years ago
kingxt
2b07f22672
optimize code ( #417 )
...
* optimize code
* optimize code
* optimize code
* optimize code
4 years ago
Kevin Wan
ebec5aafab
use env if necessary in loading config ( #409 )
4 years ago
Kevin Wan
572b32729f
update goctl version to 1.1.3 ( #402 )
4 years ago
kingxt
43e712d86a
fix type convert error ( #395 )
4 years ago
kingxt
4db20677f7
optimized ( #392 )
4 years ago
Kevin Wan
50fbdbcfd7
update readme ( #390 )
4 years ago
Kevin Wan
eca4ed2cc0
format code ( #386 )
4 years ago
文杰
3285436f75
f-fix spell ( #381 )
...
Co-authored-by: chenwenjie <chenwenjie@zzstc.cn>
4 years ago
kingxt
7f49bd8a31
code optimized ( #382 )
4 years ago
kingxt
9cd2015661
fix inner type generate error ( #377 )
...
* fix point type bug
* optimized
* fix inner type error
4 years ago
kingxt
cf3a1020b0
Java optimized ( #376 )
...
* optiimzed java gen
* optiimzed java gen
* fix
4 years ago
kingxt
ee19fb736b
feature: refactor api parse to g4 ( #365 )
...
* feature: refactor api parse to g4
* new g4 parser
* add CHANGE_LOG.MD
* refactor
* fix byte bug
* refactor
* optimized
* optimized
* revert
* update readme.md
* update readme.md
* update readme.md
* update readme.md
* remove no need
* fix java gen
* add upgrade
* resolve confilits
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
Kevin Wan
8774d72ddb
remove duplicated code in goctl ( #369 )
4 years ago
HarryWang29
e3fcdbf040
fix return in for ( #367 )
...
Co-authored-by: HarryWang29 <wrz890829@gmail.com>
4 years ago
Kevin Wan
2854ca03b4
update goctl version to 1.1.3 ( #364 )
4 years ago
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
4 years ago
kingxt
12e235efb0
optimized goctl format ( #336 )
...
* fix format
* refactor
* refactor
* optimized
* refactor
* refactor
* refactor
* add js path prefix
4 years ago
FengZhang
a926cb514f
modify the goctl gensvc template ( #323 )
4 years ago
kingxt
25cab2f273
Java ( #327 )
...
* add g4 file
* new define api by g4
* reactor parser to g4gen
* add syntax parser & test
* add syntax parser & test
* add syntax parser & test
* update g4 file
* add import parse & test
* ractor AT lexer
* panic with error
* revert AT
* update g4 file
* update g4 file
* update g4 file
* optimize parser
* update g4 file
* parse info
* optimized java generator
* revert
* optimize java generator
* update java generator
* update java generator
* update java generator
* update java generator
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
anqiansong
a3b525b50d
feature model fix ( #296 )
...
* add raw stirng quote for sql field
* remove unused code
4 years ago
Kevin Wan
acd48f0abb
optimize dockerfile generation ( #284 )
4 years ago
kingxt
f919bc6713
refactor ( #283 )
4 years ago
Kevin Wan
a0030b8f45
format dockerfile on non-chinese mode ( #282 )
4 years ago
Kevin Wan
4d13dda605
add EXPOSE in dockerfile generation ( #281 )
4 years ago
songmeizi
b56cc8e459
optimize test case of TestRpcGenerate ( #279 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
Kevin Wan
c686c93fb5
fix dockerfile generation bug ( #277 )
4 years ago
Kevin Wan
da8f76e6bd
add category docker & kube ( #276 )
4 years ago
Kevin Wan
fd73ced6dc
optimize dockerfile ( #272 )
4 years ago
Kevin Wan
5071736ab4
fmt code ( #270 )
4 years ago
songmeizi
84ab11ac09
feature plugin custom flag ( #251 )
...
* support plugin custom flags
* add short name
* remove log
* remove log
4 years ago
kingxt
67804a6bb2
optimized parse tag ( #256 )
4 years ago
Kevin Wan
65ee877236
refactor & format code ( #255 )
4 years ago
songmeizi
4d53045c6b
improve data type conversion ( #236 )
...
* improve data type conversion
* update doc
4 years ago
kingxt
cecd4b1b75
goctl add plugin support ( #243 )
...
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* remove no need
* add plugin support
* rename
* rename
* add plugin support
* refactor
* update plugin
* refactor
* refactor
* refactor
* update plugin
* newline
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
Kevin Wan
7cd0463953
fix lint errors ( #249 )
...
* simplify code, format makefile
* simplify code
* some optimize by kevwan and benying (#240 )
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
* optimization (#241 )
* optimize docker file generation, make docker build faster
* support k8s deployment yaml generation
* fix lint errors
Co-authored-by: benying <31179034+benyingY@users.noreply.github.com>
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
Co-authored-by: bittoy <bittoy@qq.com>
4 years ago