Kevin Wan
14fcbd7658
fix #3499 ( #3508 )
2023-08-19 22:17:24 +08:00
guangwu
76a7a17e57
typo ( #3281 )
2023-05-25 15:58:11 +08:00
lchjczw
9fa98c2bd3
api imports take the form of relative paths ( #3201 )
...
Co-authored-by: 李春华 <lichunhua@threesoft.cn>
2023-05-10 03:40:07 +00:00
guangwu
63368d8b0c
io/ioutil deprecated ( #3217 )
2023-05-06 09:50:54 +00:00
Kevin Wan
9065eb90d9
chore: coding style ( #3074 )
2023-03-28 16:34:22 +00:00
anqiansong
50bc361430
feat(goctl): Add api parser ( #2585 )
2023-03-28 15:45:26 +00:00
cui fliter
b41ccc5992
fix functiom name
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-03-04 04:29:19 +00:00
anqiansong
0e040ec5b4
remove unused code
2023-03-03 07:11:13 +00:00
anqiansong
4bc1b78a91
Fix #2879
2023-03-03 07:11:13 +00:00
Kevin Wan
ae87114282
chore: change interface{} to any ( #2818 )
...
* chore: change interface{} to any
* chore: update goctl version to 1.5.0
* chore: update goctl deps
2023-01-24 16:32:02 +08:00
chensy
20e659749a
fix: fix conflict with the import package name ( #2610 )
...
Co-authored-by: chenjieping <chenjieping@kezaihui.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2022-11-20 15:23:25 +08:00
Kevin Wan
d935c83a54
feat: support baggage propagation in httpc ( #2375 )
...
* feat: support baggage propagation in httpc
* chore: use go 1.16
* chore: use go 1.16
* chore: use go ^1.16
* chore: remove deprecated
2022-09-10 15:18:52 +08:00
fisnone
685d14e662
fix:duplicate route check ( #2154 )
...
Co-authored-by: 黄志荣 <huangzhirong@shuinfo.com>
2022-07-24 10:48:50 +08:00
anqiansong
1b51d0ce82
fix: fix #2102 , #2108 ( #2131 )
...
* g4 code generation
* Update grammar
* g4 code generation
* fix #2108
* fix #2102
* Remove comments
2022-07-20 22:49:41 +08:00
Kevin Wan
1c09db6d5d
chore: coding style ( #2120 )
2022-07-10 11:05:21 +08:00
anqiansong
16c61c6657
chore: Embed unit test data ( #1812 )
...
* Embed unit test data
* Add testdata
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-21 21:49:09 +08:00
anqiansong
305587aa81
fix: Fix issue #1810 ( #1811 )
...
* Fix #1810
* Remove go embed
* Format code
* Remove useless code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-21 15:22:43 +08:00
Fyn
6d9dfc08f9
feat(goctl): supports api multi-level importing ( #1747 )
...
* feat(goctl): supports api multi-level importing
Resolves : #1744
* fix(goctl): import-cycle, etc.
import-cycle will not be allowed
e.g., a.api -> b.api -> a.api
regular multiple-import will be allowed
e.g., a.api -> b.api -> c.api
-> c.api
* refactor(goctl): adds comments to exported var
* fix(goctl): typo in a comment
2022-04-09 23:26:57 +08:00
anqiansong
252fabcc4b
fix nil pointer if group not exists ( #1773 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-09 11:54:30 +08:00
anqiansong
9c2d526a11
Fix unit test ( #1730 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-01 14:46:12 +08:00
ronething-bot
18916b5189
[fix] typo ( #1655 )
2022-03-17 10:00:29 +08:00
ronething-bot
56e1ecf2f3
fix: typo ( #1646 )
2022-03-15 17:46:13 +08:00
anqiansong
cc9d16f505
fix: Update unix-like path regex ( #1637 )
...
* Revert import value regex
* Update linux path regex
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-03-12 22:21:17 +08:00
chensy
c55694d957
Support for referencing types in different API files using format ( #1630 )
2022-03-12 15:17:31 +08:00
Fyn
0c35f39a7d
fix: fix(gctl): apiparser_parser auto format ( #1607 )
2022-03-04 15:36:20 +08:00
Kevin Wan
f15a4f9188
chore: update go-zero to v1.3.1 in goctl ( #1599 )
2022-03-01 20:56:57 +08:00
Fyn
db949e40f1
feat: supports importValue
for more path formats ( #1569 )
...
`importValueRegex` now can match more path formats
Resolves : #1568
2022-02-25 11:16:57 +08:00
Kevin Wan
e0454138e0
update goctl to go 1.16 for io/fs usage ( #1571 )
...
* update goctl to go 1.16 for io/fs usage
* feat: support pg serial type for auto_increment (#1563 )
* add correct example for pg's url
* 🐞 fix: merge
* 🐞 fix: pg default port
* ✨ feat: support serial type
Co-authored-by: kurimi1 <d0n41df@gmail.com>
* chore: format code
Co-authored-by: toutou_o <33993460+kurimi1@users.noreply.github.com>
Co-authored-by: kurimi1 <d0n41df@gmail.com>
2022-02-24 13:58:53 +08:00
Kevin Wan
aa29036cb3
feat: support ctx in sql model generation ( #1551 )
2022-02-17 10:28:55 +08:00
Kevin Wan
6deb80625d
fix issue of default migrate version ( #1536 )
...
* fix issue of default migrate version
* chore: update console colors
2022-02-14 23:09:32 +08:00
Kevin Wan
a40254156f
refactor: refactor yaml unmarshaler ( #1517 )
2022-02-09 17:22:52 +08:00
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
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
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
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
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
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
Jerry Liang
5c6a3132eb
fix typo parse.go error message ( #1041 )
2021-09-14 10:26:44 +08:00
Kevin Wan
1fb356f328
refactor goctl ( #902 )
2021-08-11 18:04:42 +08:00