Commit Graph

29 Commits (607bae27fa50eb9582b2b2aae3b9eb54a510367a)

Author SHA1 Message Date
Kevin Wan 4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 3 years ago
anqiansong df0f8ed59e
Fix/issue#1289 (#1460)
* fix #1289

* Add unit test case

* fix `jwtTransKey`

* fix `jwtTransKey`

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan e267d94ee1
chore: update go-zero to v1.2.5 (#1410) 3 years ago
anqiansong 89ce5e492b
refactor file|path (#1409)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 7fb5bab26b
fix #1058 (#1064) 3 years ago
kingxt f98c9246b2
Code optimized (#493) 4 years ago
kingxt 4db20677f7
optimized (#392) 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
kingxt 3f389a55c2
format service and add test (#197)
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
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
4 years ago
kingxt b776468e69
route support no request and response (#178)
* add more test and support no request and response

* fix slash when run on windows

* optimize test
4 years ago
kingxt aa3c391919
api add middleware support (#140)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

* support return ()

* revert

* refactor and rename folder to group

* remove no need

* add anonymous annotation

* optimized

* rename

* rename

* update test

* api add middleware support: usage:

@server(
    middleware: M1, M2
)

* api add middleware support: usage:

@server(
    middleware: M1, M2
)

* simple logic

* should reverse middlewares

* optimized

* optimized

* rename

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
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>
4 years ago
kingxt 1d12f20ff6
refactor (#49)
* 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>
4 years ago
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>
4 years ago
kevin 618bec5075 remove makefile generation 4 years ago
kingxt 38806e7237
fix config yaml gen (#25)
* optimized

* format

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin 1c24e71568 use yaml, and detect go.mod in current dir 4 years ago
kingxt fd75f700a2 fix windows bug 4 years ago
kevin d408a0d49b remove unused method 4 years ago
kim 69d113a46d fix windows slash 4 years ago
kevin 89019a0b72 use fmt.Println instead of println 4 years ago
kevin a13ab94748 remove unused method 4 years ago
kim 7f2e48e8f0 fix windows slash 4 years ago
kim 2012ac3204 correct parent packet for gomod 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kim b1e8dd62da add runner 4 years ago
kim 121323b8c3 goctl added 4 years ago