anqiansong
|
9b592b3dee
|
Feature rpc protoc (#1251)
* code generation by protoc
* generate pb by protoc direct
* support: grpc code generation by protoc directly
* format code
* check --go_out & --go-grpc_out
* fix typo
* Update version
* fix typo
* optimize: remove deprecated unit test
* format code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
3 years ago |
Kevin Wan
|
a91c3907a8
|
feat: rename module from tal-tech to zeromicro (#1413)
|
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 |
Kevin Wan
|
d6ff30a570
|
chore: fix golint issues (#1396)
|
3 years ago |
Kevin Wan
|
62266d8f91
|
fix #1070 (#1389)
* fix #1070
* test: add more tests
|
3 years ago |
anqiansong
|
b8ea16a88e
|
feat: Add --remote (#1387)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
3 years ago |
JiangYiJun
|
a67c118dcf
|
go-zero tools ,fix a func,api new can not choose style (#1356)
|
3 years ago |
Kevin Wan
|
1becaeb7be
|
chore: refactor (#1331)
|
3 years ago |
Kevin Wan
|
490ef13822
|
style: format code (#1322)
|
3 years ago |
anqiansong
|
1b14de2ff9
|
fix: #1318 (#1321)
* fix #1318
* fix #1318
* remove never used code
* fix unit tes
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
3 years ago |
Kevin Wan
|
0240fa131a
|
chore: rename service context from ctx to svcCtx (#1299)
|
3 years ago |
Kevin Wan
|
543d590710
|
fixes #987 (#1283)
* fixes #987
* chore: fix test failure
* chore: add comments
|
3 years ago |
anqiansong
|
f1d70eb6b2
|
Feature api root path (#1261)
|
3 years ago |
Kevin Wan
|
86f9f63b46
|
Cli (#1272)
* Fix issue 1260 (#1262)
* Fix #1238 (#1266)
* docs: update readme to use goctl@cli (#1255)
* chore: update goctl version
* style: coding style
* docs: update readme to use goctl@cli
* fix #1238
* format code
* format code
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
Co-authored-by: anqiansong <anqiansong@bytedance.com>
Co-authored-by: anqiansong <anqiansong@gmail.com>
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
3 years ago |
Kevin Wan
|
c28e01fed3
|
feat: support CORS by using rest.WithCors(...) (#1212)
* feat: support CORS by using rest.WithCors(...)
* chore: add comments
* refactor: lowercase unexported methods
* ci: fix lint errors
|
3 years ago |
Kevin Wan
|
4d22b0c497
|
feat: ignore rest.WithPrefix on empty prefix (#1208)
|
3 years ago |
anqiansong
|
01786c5e63
|
Generate route with prefix (#1200)
* Generate route with prefix
* Update api convert
* Remove TrimSpace
* Update path join
* Format code
* Format code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
3 years ago |
Kevin Wan
|
b76c7ae55d
|
chore: remove semicolon for routes of services in api files (#1195)
|
3 years ago |
anqiansong
|
a944a7fd7e
|
Mark deprecated syntax (#1148)
|
3 years ago |
Kevin Wan
|
65905b914d
|
ci: add reviewdog (#1096)
|
3 years ago |
z-micro
|
80e3407be1
|
fix bug: generating dart code error (#1090)
|
3 years ago |
Amor
|
41c980f00c
|
update goctl api (#1052)
* update goctl api
* add LoadTemplate
* update new api template
* update
|
3 years ago |
Kevin Wan
|
2e12cd2c99
|
coding style (#1083)
|
3 years ago |
anqiansong
|
9a724fe907
|
Add MustTempDir (#1069)
|
3 years ago |
anqiansong
|
7fb5bab26b
|
fix #1058 (#1064)
|
3 years ago |
Jerry Liang
|
5c6a3132eb
|
fix typo parse.go error message (#1041)
|
3 years ago |
Kevin Wan
|
bdec5f2349
|
use sdktrace instead of trace for opentelemetry to avoid conflicts (#1005)
* use sdktrace instead of trace for opentelemetry to avoid conflicts
* disable opentelemetry for right now
|
3 years ago |
shenbaise9527
|
bc92b57bdb
|
api文件中使用group时生成的handler和logic的包名应该为group的名字 (#545)
* api文件中使用group时生成的handler和logic的包名应该为group的名字
* Update genhandlers.go
fix errors.
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
|
3 years ago |
neosu
|
d8905b9e9e
|
add api template file (#1003)
|
3 years ago |
anqiansong
|
8829c31c0d
|
Feature goctl error wrap (#995)
* Add `Wrap` in file errorx.go
* Wrap error with `GoctlError`
* format code
* Refactor package `env` to `version`
* Refactor package `IsVersionGatherThan`
* fix typo
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
3 years ago |
Vee Zhang
|
c26c187e11
|
remote handler blank line when .HasRequest is false (#986)
|
3 years ago |
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 |
Kevin Wan
|
00c5734021
|
format coding style (#905)
|
3 years ago |
lovelly
|
33f87cf1f0
|
带下划线的项目,配置文件名字错误。 (#733)
|
3 years ago |
Kevin Wan
|
1fb356f328
|
refactor goctl (#902)
|
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 |
anqiansong
|
9f4a882a1b
|
fix issue #831 (#850)
* fix issue #831
* fix typo
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
|
3 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 |
Bo-Yi Wu
|
73906f996d
|
chore(format): change by gofumpt tool (#697)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
|
4 years ago |
anqiansong
|
9f6a574f97
|
resolve #610 (#684)
|
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 |
anqiansong
|
60c7edf8f8
|
fix spelling (#551)
|
4 years ago |
kingxt
|
1e4e5a02b2
|
rename (#543)
|
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 |