Kevin Wan
8bc34defc4
chore: avoid deadlock after stopping TimingWheel ( #1768 )
2022-04-07 11:50:18 +08:00
anqiansong
8dd764679c
Fix #1765 ( #1767 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-07 10:40:21 +08:00
Kevin Wan
9fe868ade9
chore: remove legacy code ( #1766 )
2022-04-06 23:24:20 +08:00
Kevin Wan
4e48286838
chore: add doc ( #1764 )
2022-04-06 22:42:40 +08:00
Kevin Wan
ab01442d46
add more tests ( #1763 )
...
* feat: add goctl docker build scripts
* chore: add more tests
2022-04-06 16:09:06 +08:00
Kevin Wan
8694e38384
feat: add goctl docker build scripts ( #1760 )
2022-04-05 13:07:05 +08:00
Kevin Wan
d5e550e79b
Update readme-cn.md
2022-04-05 11:51:53 +08:00
Kevin Wan
affdab660e
Update readme.md
2022-04-05 11:51:09 +08:00
Kevin Wan
7d5858e83a
Update readme.md
2022-04-05 11:08:00 +08:00
Kevin Wan
815a6a6485
Update readme-cn.md
2022-04-05 11:07:37 +08:00
benqi
475d17e17d
feat: support ctx in kv methods ( #1759 )
2022-04-04 23:19:58 +08:00
Kevin Wan
8472415472
fix #1754 ( #1757 )
2022-04-04 22:13:08 +08:00
Kevin Wan
faad6e27e3
feat: use go:embed to embed templates ( #1756 )
2022-04-04 13:12:05 +08:00
anqiansong
58a0b17451
Support goctl env install
( #1752 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-03 21:58:43 +08:00
Kevin Wan
89eccfdb97
chore: update go-zero to v1.3.2 in goctl ( #1750 )
2022-04-03 20:44:33 +08:00
Kevin Wan
78ea0769fd
feat: simplify httpc ( #1748 )
...
* feat: simplify httpc
* chore: fix lint errors
* chore: fix log url issue
* chore: fix log url issue
* refactor: handle resp & err in ResponseHandler
* chore: remove unnecessary var names in return clause
2022-04-03 14:32:27 +08:00
Kevin Wan
e0fa8d820d
feat: return original value of setbit in redis ( #1746 )
2022-04-02 20:25:51 +08:00
Kevin Wan
dfd58c213c
fix: model generation bug on with cache ( #1743 )
...
* fix: model generation bug on with cache
* chore: refine template
* chore: fix test failure
2022-04-02 15:36:06 +08:00
Kevin Wan
83cacf51b7
chore: update goctl version to 1.3.4 ( #1742 )
2022-04-02 14:19:34 +08:00
Kevin Wan
6dccfa29fd
feat: let model customizable ( #1738 )
2022-04-01 22:19:52 +08:00
anqiansong
7e0b0ab0b1
Fix zrpc code generation error with --remote ( #1739 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-01 22:19:33 +08:00
Kevin Wan
ac18cc470d
chore: refactor to use const instead of var ( #1731 )
2022-04-01 15:23:45 +08:00
Fyn
f4471846ff
feat(goctl): supports model code 'DO NOT EDIT' ( #1728 )
...
Resolves : #1710
2022-04-01 14:48:45 +08:00
anqiansong
9c2d526a11
Fix unit test ( #1730 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-01 14:46:12 +08:00
Kevin Wan
2b9fc26c38
refactor: guard timeout on API files ( #1726 )
2022-03-31 21:39:02 +08:00
Xiaoju Jiang
321dc2d410
Added support for setting the parameter size accepted by the interface and custom timeout and maxbytes in API file ( #1713 )
...
* Added support for setting the parameter size accepted by the interface
* support custom timeout and maxbytes in API file
* support timeout used unit
* remove goctl maxBytes
2022-03-31 20:20:00 +08:00
Fyn
500bd87c85
fix(goctl): api format with reader input ( #1722 )
...
resolves #1721
2022-03-31 00:20:51 +08:00
Kevin Wan
e9620c8c05
chore: refactor code ( #1708 )
2022-03-24 22:10:15 +08:00
aimuz
70e51bb352
fix: empty slice are set to nil ( #1702 )
...
support for empty slce, Same behavior as json.Unmarshal
2022-03-24 21:41:38 +08:00
Kevin Wan
278cd123c8
feat: remove reentrance in redislock, timeout bug ( #1704 )
2022-03-24 16:17:01 +08:00
Kevin Wan
3febb1a5d0
chore: refactor code ( #1700 )
2022-03-23 19:09:45 +08:00
Mikael
d8054d8def
fix -cache=true insert no clean cache ( #1672 )
...
* fix -cache=true insert no clean cache
* fix -cache=true insert no clean cache
2022-03-23 18:55:16 +08:00
Kevin Wan
ec271db7a0
chore: refactor code ( #1699 )
2022-03-23 18:24:44 +08:00
benqi
bbac994c8a
feat: add getset command in redis and kv ( #1693 )
2022-03-23 18:02:56 +08:00
Kevin Wan
c1d9e6a00b
feat: add httpc.Parse ( #1698 )
2022-03-23 17:58:21 +08:00
anqiansong
0aeb49a6b0
Add verbose flag ( #1696 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-03-22 21:00:26 +08:00
Kevin Wan
fe262766b4
chore: fix lint issue ( #1694 )
2022-03-22 13:31:05 +08:00
Kevin Wan
7181505c8a
Update LICENSE
2022-03-21 10:32:41 +08:00
Kevin Wan
f060a226bc
refactor: simplify the code ( #1670 )
2022-03-20 17:26:12 +08:00
Mervin.Wong
93d524b797
fix: the new RawFieldNames considers the tag with options. ( #1663 )
...
Co-authored-by: JinfaWang <wangjinfa@iie.ac.cn>
2022-03-20 16:59:19 +08:00
anqiansong
5c169f4f49
Remove debug log ( #1669 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-03-20 16:28:36 +08:00
Kevin Wan
d29dfa12e3
feat: support -base to specify base image for goctl docker ( #1668 )
...
* feat: support -base to specify base image for goctl docker
* chore: update usage
2022-03-20 11:17:55 +08:00
anqiansong
194f55e08e
Remove unused code ( #1667 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-03-19 23:15:11 +08:00
Kevin Wan
c0f9892fe3
feat: add Dockerfile for goctl ( #1666 )
2022-03-19 23:07:17 +08:00
anqiansong
227104d7d7
feat: Remove command goctl rpc proto
( #1665 )
...
* Fix goctl completion expression
* Fix code generation error if the pkg of pb/grpc is same to zrpc call client pkg
* Remove deprecated comment on action goctl rpc new
* Remove zrpc code generation on action goctl rpc proto
* Remove zrpc code generation on action goctl rpc proto
* Remove Generator interface
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-03-19 22:50:22 +08:00
anqiansong
448029aa4b
Mkdir if not exists ( #1659 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-03-17 21:44:22 +08:00
Fyn
17e0afeac0
fix(goctl): model method FindOneCtx should be FindOne ( #1656 )
2022-03-17 17:16:53 +08:00
ronething-bot
18916b5189
[fix] typo ( #1655 )
2022-03-17 10:00:29 +08:00
Kevin Wan
c11a09be23
chore: remove unnecessary env ( #1654 )
2022-03-16 17:31:10 +08:00
ronething-bot
56e1ecf2f3
fix: typo ( #1646 )
2022-03-15 17:46:13 +08:00