Bo-Yi Wu
73906f996d
chore(format): change by gofumpt tool ( #697 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-05-18 14:43:09 +08:00
anqiansong
9f6a574f97
resolve #610 ( #684 )
2021-05-13 18:42:05 +08:00
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
2021-04-15 19:49:17 +08:00
anqiansong
dd393351cc
patch 1.1.5 ( #530 )
2021-03-01 21:14: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
54414db91d
fix golint issues, exported doc ( #451 )
2021-02-08 21:31:56 +08:00
FengZhang
a926cb514f
modify the goctl gensvc template ( #323 )
2020-12-30 10:05:26 +08:00
songmeizi
b56cc8e459
optimize test case of TestRpcGenerate ( #279 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2020-12-11 21:57:04 +08:00
Kevin Wan
da8f76e6bd
add category docker & kube ( #276 )
2020-12-11 18:53:40 +08:00
Kevin Wan
65ee877236
refactor & format code ( #255 )
2020-12-08 23:01:25 +08:00
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>
2020-12-07 14:55:10 +08:00
Keson
2dfecda465
modify the service name from proto ( #230 )
2020-11-28 11:48:44 +08:00
kingxt
b9ac51b6c3
feature: file namestyle ( #223 )
...
* add api filename style
* new feature: config.yaml
* optimize
* optimize logic generation
* check hanlder valid
* optimize
* reactor naming style
* optimize
* optimize test
* optimize gen middleware
* format
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
Co-authored-by: kim <xutao@xiaoheiban.cn>
2020-11-24 15:11:18 +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
kevin
c7831ac96d
update goctl readme
2020-11-15 21:18:02 +08:00
Keson
48f4154ea8
update doc ( #193 )
2020-11-08 13:02:48 +08:00
kingxt
7f6eceb5a3
add more test ( #189 )
...
* new test
* import bug when with quotation
* new test
* add test condition
* rpc template command use -o param
Co-authored-by: kim <xutao@xiaoheiban.cn>
2020-11-07 17:13:40 +08:00
Keson
856b5aadb1
rpc generation fix ( #184 )
...
* reactor alert
* optimize
* add test case
* update the target directory in case proto contains option
* fix missing comments and format code
2020-11-05 19:08:34 +08:00
Keson
f7d778e0ed
fix duplicate alias ( #183 )
2020-11-05 18:12:23 +08:00
Keson
e76f44a35b
reactor rpc ( #179 )
...
* reactor rpc generation
* update flag
* update command
* update command
* update unit test
* delete test file
* optimize code
* update doc
* update gen pb
* rename target dir
* update mysql data type convert rule
* add done flag
* optimize req/reply parameter
* optimize req/reply parameter
* remove waste code
* remove duplicate parameter
* format code
* format code
* optimize naming
* reactor rpcv2 to rpc
* remove new line
* format code
* rename underline to snake
* reactor getParentPackage
* remove debug log
* reactor background
2020-11-05 14:12:47 +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
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
dfe6e88529
use goctl template to generate all kinds of templates
2020-10-19 23:13:18 +08:00
mywaystay
7e83895c6e
update goctl rpc template log print url ( #133 )
2020-10-16 16:21:22 +08:00
sjatsh
338caf9927
delete goctl rpc main tpl no use import ( #130 )
2020-10-16 10:44:04 +08:00
kevin
f904710811
support api templates
2020-10-15 16:36:49 +08:00
kevin
936dd67008
simplify code generation
2020-10-12 11:39:50 +08:00
super_mario
84cc41df42
stop rpc server when main function exit ( #120 )
...
add defer s.Stop() to mainTemplate, in order to stop rpc server when main function exit
2020-10-12 11:37:43 +08:00
Keson
0a9c427443
Goctl rpc patch ( #117 )
...
* remove mock generation
* add: proto project import
* update document
* remove mock generation
* add: proto project import
* update document
* remove NL
* update document
* optimize code
* add test
* add test
2020-10-10 16:19:46 +08:00
Keson
9f9c24cce9
fix bug: release empty struct limit ( #96 )
2020-09-22 19:13:46 +08:00
kevin
0b1ee79d3a
rename rpcx to zrpc
2020-09-18 11:41:52 +08:00
kevin
a561884fcf
print message when starting api server
2020-09-16 13:27:16 +08:00
Sergey Cheung
21e811887c
Markdown lint ( #58 )
...
* markdown linter
* format markdown docs
* format exiting markdown docs
2020-09-11 19:42:58 +08:00
kevin
72aeac3fa9
add in-process cache doc
2020-09-11 15:30:20 +08:00
Keson
17e6cfb7a9
quickly generating rpc demo service ( #60 )
...
* add execute files
* add protoc-osx
* add rpc generation
* add rpc generation
* add: rpc template generation
* add README.md
* format error
* reactor templatex.go
* update project.go & README.md
* add: quickly generate rpc service
2020-09-11 15:26:55 +08:00
kingxt
4408767981
fix command run path bug ( #52 )
...
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* optimized go path logic
Co-authored-by: kingxt <dream4kingxt@163.com>
2020-09-08 12:19:34 +08:00
kingxt
1602f6ce81
refactor gomod logic ( #47 )
...
* rebase upstream
* rebase
* trim no need line
* trim no need line
* trim no need line
* refactor gomod module logic
Co-authored-by: kingxt <dream4kingxt@163.com>
2020-09-07 18:04:59 +08:00
kevin
fe3e70a60f
update shorturl doc
2020-08-31 20:52:29 +08:00
kevin
36174ba5cc
make svcCtx as a member for better code generation
2020-08-31 12:32:13 +08:00
kevin
431be8ed9d
make goctl work on linux
2020-08-30 16:37:34 +08:00
kevin
6c4a4be5d2
update shorturl doc
2020-08-29 20:27:52 +08:00
kevin
6e3d99e869
reorg imports
2020-08-29 14:31:51 +08:00
Keson
0f97b2019a
rpc generation support windows ( #28 )
...
* add execute files
* add protoc-osx
* add rpc generation
* add rpc generation
* add: rpc template generation
* update usage
* fixed env prepare for project in go path
* optimize gomod cache
* add README.md
* format error
* reactor templatex.go
* remove waste code
* update project.go & README.md
* update project.go & README.md
* rpc generation supports windows
2020-08-29 14:30:17 +08:00
kevin
3affe62ae4
update shorturl doc
2020-08-29 00:28:57 +08:00
Keson
0734bbcab3
update handler generation ( #27 )
...
* add execute files
* add protoc-osx
* add rpc generation
* add rpc generation
* add: rpc template generation
* update usage
* fixed env prepare for project in go path
* optimize gomod cache
* add README.md
* format error
* reactor templatex.go
* remove waste code
* update project.go & README.md
* update project.go & README.md
2020-08-29 00:15:15 +08:00
kevin
f411178a4f
refine rpc generator
2020-08-28 22:44:41 +08:00
kevin
72132ce399
refine goctl rpc generator
2020-08-28 21:22:35 +08:00
Keson
db16115037
rpc service generation ( #26 )
...
* add execute files
* add protoc-osx
* add rpc generation
* add rpc generation
* add: rpc template generation
* update usage
* fixed env prepare for project in go path
* optimize gomod cache
* add README.md
* format error
* reactor templatex.go
* remove waste code
2020-08-28 19:24:58 +08:00