Commit Graph

2270 Commits (2b18dd1764f51ed45cbabd76d3af09a93eb61f39)
 

Author SHA1 Message Date
Kevin Wan 914692cc82
fix #1309 (#1317) 3 years ago
anqiansong 07191dc430
fix #1305 (#1307)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
BYT0723 af3fb2b04d
fix: go issue 16206 (#1298) 3 years ago
Kevin Wan 0240fa131a
chore: rename service context from ctx to svcCtx (#1299) 3 years ago
Kevin Wan e96577dd38
docs: add go-zero users (#1294) 3 years ago
Kevin Wan 403dd7367a
fix #1288 (#1292)
* fix #1288

* chore: make wrapup & shutdown callbacks run simulatenously
3 years ago
Kevin Wan 8086ad120b
Revert "feat: reduce dependencies of framework by add go.mod in goctl (#1290)" (#1291)
This reverts commit 87a445689c.
3 years ago
Kevin Wan 87a445689c
feat: reduce dependencies of framework by add go.mod in goctl (#1290) 3 years ago
Kevin Wan b6bda54870
chore: update cli version (#1287) 3 years ago
Kevin Wan 9d528dddd6
feat: support third party orm to interact with go-zero (#1286)
* fixes #987

* chore: fix test failure

* chore: add comments

* feat: support third party orm to interact with go-zero

* chore: refactor
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 d828c3f37e
feat: add etcd resolver scheme, fix discov minor issue (#1281) 3 years ago
Kevin Wan 038491b7bc
chore: cleanup zRPC retry code (#1280) 3 years ago
chenquan cf683411ee
feature(retry): Delete retry mechanism (#1279) 3 years ago
Kevin Wan de5ed6a677
feat: support %w in logx.Errorf (#1278) 3 years ago
Kevin Wan 3dda557410
chore: only allow cors middleware to change headers (#1276) 3 years ago
Kevin Wan c800f6f723
chore: avoid superfluous WriteHeader call errors (#1275) 3 years ago
Kevin Wan 0395ba1816
feat: add rest.WithCustomCors to let caller customize the response (#1274) 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 a7a6753118
fixes #1257 (#1271)
* fixes #1257

* chore: format code

* test: add more tests
3 years ago
Kevin Wan 2e80d12d6a
docs: update readme to use goctl@cli (#1255)
* chore: update goctl version

* style: coding style

* docs: update readme to use goctl@cli
3 years ago
Kevin Wan 417a96cbf2
chore: update goctl version (#1250)
* chore: update goctl version

* style: coding style
3 years ago
Kevin Wan 2d4c29ea7c
Revert "Revert "feat: enable retry for zrpc (#1237)"" (#1246) 3 years ago
Kevin Wan 67db40ed4f
Revert "feat: enable retry for zrpc (#1237)" (#1245)
This reverts commit 09eb53f308.
3 years ago
FabioCircle 11c485a5ed
Duplicate temporary variable (#1244)
Co-authored-by: fabiowzhang <fabiowzhang@wesure.cn>
3 years ago
anqiansong b0573af9a9
Update template (#1243) 3 years ago
Kevin Wan 09eb53f308
feat: enable retry for zrpc (#1237) 3 years ago
Kevin Wan 11f85d1b80
chore: remove conf.CheckedDuration (#1235) 3 years ago
anqiansong 0cb86c6990
reset link goctl (#1232) 3 years ago
Kevin Wan 57d2f22c24
feat: disable grpc retry, enable it in v1.2.4 (#1233) 3 years ago
Kevin Wan fa0c364982
fixes #1169 (#1229) 3 years ago
Kevin Wan a6c8113419
chore: refactor, better goctl message (#1228) 3 years ago
Kevin Wan 4f5c30e083
chore: remove unused const (#1224) 3 years ago
Kevin Wan 9d0b51fa26
fixes #1222 (#1223) 3 years ago
Kevin Wan ba5f8045a2
Update FUNDING.yml
disable sponsor button.
3 years ago
an 3a510a9138
chore: redislock use stringx.randn replace randomStr func (#1220) 3 years ago
Kevin Wan d3bfa16813
feat: exit with non-zero code on errors (#1218)
* feat: exit with non-zero code on errors

* chore: use const for code
3 years ago
Kevin Wan 28409791fa
feat: support CORS, better implementation (#1217)
* feat: support CORS, better implementation

* chore: refine code
3 years ago
Kevin Wan c1abe87953
Create FUNDING.yml
add sponsor button
3 years ago
Kevin Wan f8367856e8
chore: refine code (#1215) 3 years ago
Kevin Wan a72b0a689b
docs: add go-zero users (#1214) 3 years ago
anqiansong 69a4d213a3
Fix issue 1205 (#1211)
* fix #1205

* move builder into stores

* remove xrom

* Remove unused code

* Remove unused code

* refactor builderx to builder

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 e8efcef108
update dependencies. (#1210)
* chore: update dependencies

* chore: update dependencies

* chore: update dependencies

* chore: update dependencies

* chore: fix test failure
3 years ago
Kevin Wan d011316997
test: add more tests (#1209) 3 years ago
Kevin Wan 4d22b0c497
feat: ignore rest.WithPrefix on empty prefix (#1208) 3 years ago
晨曦中 539215d7df
goctl docker command add -version (#1206)
* feature(优化): 优化goctl

goctl docker 命令新增version参数,指定builder golang 版本

* feature(优化): 优化goctl

goctl docker 命令新增version参数,指定builder golang 版本
3 years ago
Kevin Wan 3ede597a15
feat: support customizing timeout for specific route (#1203)
* feat: support customizing timeout for specific route

* test: add more tests
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