Kevin Wan
|
c1d2634427
|
chore: update go version for goctl (#1484)
|
2022-01-26 14:27:43 +08:00 |
|
Kevin Wan
|
4b7a680ac5
|
refactor: rename from tal-tech to zeromicro for goctl (#1481)
|
2022-01-25 23:15:07 +08:00 |
|
anqiansong
|
cdf7ec213c
|
fix #1468 (#1478)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
2022-01-24 22:23:20 +08:00 |
|
anqiansong
|
df0f8ed59e
|
Fix/issue#1289 (#1460)
* fix #1289
* Add unit test case
* fix `jwtTransKey`
* fix `jwtTransKey`
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
2022-01-18 11:52:30 +08:00 |
|
anqiansong
|
c903966fc7
|
patch: save missing templates to disk (#1463)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
2022-01-18 10:45:05 +08:00 |
|
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>
|
2022-01-11 20:34:25 +08:00 |
|
Kevin Wan
|
a91c3907a8
|
feat: rename module from tal-tech to zeromicro (#1413)
|
2022-01-04 15:51:32 +08:00 |
|
Kevin Wan
|
e267d94ee1
|
chore: update go-zero to v1.2.5 (#1410)
|
2022-01-03 21:54:53 +08:00 |
|
anqiansong
|
89ce5e492b
|
refactor file|path (#1409)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
2022-01-03 21:32:40 +08:00 |
|
Kevin Wan
|
d6ff30a570
|
chore: fix golint issues (#1396)
|
2021-12-30 17:44:15 +08:00 |
|
Kevin Wan
|
62266d8f91
|
fix #1070 (#1389)
* fix #1070
* test: add more tests
|
2021-12-29 21:34:28 +08:00 |
|
anqiansong
|
b8ea16a88e
|
feat: Add --remote (#1387)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
2021-12-29 18:16:42 +08:00 |
|
JiangYiJun
|
a67c118dcf
|
go-zero tools ,fix a func,api new can not choose style (#1356)
|
2021-12-23 10:28:46 +08:00 |
|
Kevin Wan
|
1becaeb7be
|
chore: refactor (#1331)
|
2021-12-15 20:44:23 +08:00 |
|
Kevin Wan
|
490ef13822
|
style: format code (#1322)
|
2021-12-14 11:29:44 +08:00 |
|
anqiansong
|
1b14de2ff9
|
fix: #1318 (#1321)
* fix #1318
* fix #1318
* remove never used code
* fix unit tes
Co-authored-by: anqiansong <anqiansong@bytedance.com>
|
2021-12-13 22:55:11 +08:00 |
|
Kevin Wan
|
0240fa131a
|
chore: rename service context from ctx to svcCtx (#1299)
|
2021-12-05 22:10:47 +08:00 |
|
Kevin Wan
|
543d590710
|
fixes #987 (#1283)
* fixes #987
* chore: fix test failure
* chore: add comments
|
2021-12-01 17:45:48 +08:00 |
|
anqiansong
|
f1d70eb6b2
|
Feature api root path (#1261)
|
2021-12-01 10:09:07 +08:00 |
|
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>
|
2021-11-25 11:08:49 +08:00 |
|
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
|
2021-11-07 22:42:40 +08:00 |
|
Kevin Wan
|
4d22b0c497
|
feat: ignore rest.WithPrefix on empty prefix (#1208)
|
2021-11-06 21:31:35 +08:00 |
|
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>
|
2021-11-03 20:57:03 +08:00 |
|
Kevin Wan
|
b76c7ae55d
|
chore: remove semicolon for routes of services in api files (#1195)
|
2021-11-01 20:37:05 +08:00 |
|
anqiansong
|
a944a7fd7e
|
Mark deprecated syntax (#1148)
|
2021-10-20 10:58:25 +08:00 |
|
Kevin Wan
|
65905b914d
|
ci: add reviewdog (#1096)
|
2021-09-29 13:09:20 +08:00 |
|
z-micro
|
80e3407be1
|
fix bug: generating dart code error (#1090)
|
2021-09-28 09:01:27 +08:00 |
|
Amor
|
41c980f00c
|
update goctl api (#1052)
* update goctl api
* add LoadTemplate
* update new api template
* update
|
2021-09-23 14:31:11 +08:00 |
|
Kevin Wan
|
2e12cd2c99
|
coding style (#1083)
|
2021-09-23 11:19:57 +08:00 |
|
anqiansong
|
9a724fe907
|
Add MustTempDir (#1069)
|
2021-09-21 10:13:43 +08:00 |
|
anqiansong
|
7fb5bab26b
|
fix #1058 (#1064)
|
2021-09-19 08:53:41 +08:00 |
|
Jerry Liang
|
5c6a3132eb
|
fix typo parse.go error message (#1041)
|
2021-09-14 10:26:44 +08:00 |
|
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
|
2021-09-07 12:02:41 +08:00 |
|
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>
|
2021-09-07 11:03:04 +08:00 |
|
neosu
|
d8905b9e9e
|
add api template file (#1003)
|
2021-09-07 10:16:10 +08:00 |
|
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>
|
2021-09-05 21:57:44 +08:00 |
|
Vee Zhang
|
c26c187e11
|
remote handler blank line when .HasRequest is false (#986)
|
2021-09-03 07:25:04 +08:00 |
|
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>
|
2021-08-19 22:47:45 +08:00 |
|
Kevin Wan
|
00c5734021
|
format coding style (#905)
|
2021-08-12 14:58:37 +08:00 |
|
lovelly
|
33f87cf1f0
|
带下划线的项目,配置文件名字错误。 (#733)
|
2021-08-12 14:55:39 +08:00 |
|
Kevin Wan
|
1fb356f328
|
refactor goctl (#902)
|
2021-08-11 18:04:42 +08:00 |
|
_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>
|
2021-08-11 17:33:18 +08:00 |
|
anqiansong
|
9f4a882a1b
|
fix issue #831 (#850)
* fix issue #831
* fix typo
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
|
2021-07-28 16:32:15 +08:00 |
|
kingxt
|
546fcd8bab
|
fix #736 (#738)
* optimize performance
* rename
* rename
* revert
|
2021-05-29 23:01:02 +08:00 |
|
anqiansong
|
94417be018
|
Add document & comment for spec (#703)
* Add document & comment for spec
* remove duplicate field
* use alias
|
2021-05-21 10:40:59 +08:00 |
|
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 |
|
anqiansong
|
d28ac35ff7
|
fix issue: https://github.com/zeromicro/goctl-swagger/issues/6 (#680)
|
2021-05-10 19:57:12 +08:00 |
|
anqiansong
|
df5ae9507f
|
replace antlr module (#672)
* replace antlr module
* refactor version of antlr
|
2021-05-08 21:35:27 +08:00 |
|
Bo-Yi Wu
|
afd9ff889e
|
chore: update code format. (#628)
|
2021-04-15 19:49:17 +08:00 |
|