Commit Graph

106 Commits

Author SHA1 Message Date
kesonan
3e794cf991
(goctl)fix code_ql (#4009) 2024-03-17 02:21:36 +00:00
mongobaba
459d3025c5
optimize: change err == xx to errors.Is(err, xx) (#3991) 2024-03-09 12:49:16 +00:00
Rene Leonhardt
34c5f6616c
chore: upgrade go to 1.19 (#3677) 2023-10-28 12:12:04 +00:00
Kevin Wan
92e5819e91
opt: improve logx performance (#3371) 2023-06-25 15:41:28 +08:00
2822132073
8d23ab158b
fix In goctl new api, occur error invalid character 'A' looking for beginning of value (#3357) 2023-06-25 07:26:21 +00:00
唐小鸭
bcccfab824
[fix] The directory is not recognized when it is in a soft link (#3337) 2023-06-25 05:06:27 +00:00
elza
4a29a0b642
fix: fixed goctl api go --home parameter error when loading non-exist… (#3319)
Co-authored-by: yuanyou <yuanyou@kezaihui.com>
2023-06-12 16:00:41 +00:00
guangwu
f0bdfb928f
fix call error func (#3245) 2023-05-12 04:34:08 +00:00
guangwu
63368d8b0c
io/ioutil deprecated (#3217) 2023-05-06 09:50:54 +00:00
ALMAS
774e8d1d08
feat: replaced color package to support Windows (#3207) 2023-05-05 13:09:54 +00:00
anqiansong
1904af2323
feat(goctl): Support gateway sample generation (#3049) 2023-03-29 09:06:23 +00:00
anqiansong
50bc361430
feat(goctl): Add api parser (#2585) 2023-03-28 15:45:26 +00:00
Kevin Wan
3a493cd6a6
chore: add more tests (#3006) 2023-03-10 17:36:39 +08:00
Kevin Wan
eab904af64
chore: update goctl interface{} to any (#2819)
* chore: update goctl interface{} to any

* chore: update goctl interface{} to any
2023-01-24 17:51:03 +08: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
Kevin Wan
dd294e8cd6
fix: #2700, timeout not enough for writing responses (#2738)
* fix: #2700, timeout not enough for writing responses

* fix: test fail

* chore: add comments
2023-01-02 13:51:15 +08:00
anqiansong
a49f9060c2
Add more test (#2692) 2022-12-12 22:45:18 +08:00
fyyang
ebe28882eb
fix: Fix string.title (#2687)
* fix: unsignedTypeMap type error

* fix: string.Title

* style: string.Title test
2022-12-11 23:44:19 +08:00
EinfachePhy
10fd9131a1
replace strings.Title to cases.Title (#2650) 2022-12-02 00:15:51 +08:00
王哈哈
dac3600b53
Modify comment syntax error (#2572) 2022-11-04 21:55:17 +08:00
foliet
07128213d6
chore: update "DO NOT EDIT" format (#2559)
* chore: update "DO NOT EDIT" format

* Update readme.md

* Update head.go
2022-10-27 19:41:24 +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
Kevin Wan
555c4ecd1a
fix: quickstart wrong package when go.mod exists in parent dir (#2048)
* chore: fix typo

* fix: quickstart in dir with go.mod

* fix: runner failed

* chore: refine code

* chore: simplify quickstart mono
2022-06-26 22:37:15 +08:00
anqiansong
5e7b1f6bfe
Fix process blocking problem during check (#1911) 2022-05-17 09:42:18 +08:00
Kevin Wan
5d09cd0e7c
use goproxy properly, remove files (#1903) 2022-05-14 16:00:20 +08:00
anqiansong
f486685e99
Fix code generation (#1897) 2022-05-13 00:16:17 +08:00
Kevin Wan
5451d96a81
chore: update some logs (#1875) 2022-05-07 23:34:55 +08:00
anqiansong
5383e29ce6
feat: Replace cli to cobra (#1855)
* Replace cli

* Replace cli

* Replace cli

* Format code

* Add compare case

* Add compare case

* Add compare case

* Support go style flag

* Support go style flag

* Add test case
2022-05-07 15:40:11 +08:00
Fyn
e62870e268
feat(goctl): go work multi-module support (#1800)
* feat(goctl): go work multi-module support

Resolve: #1793

* chore: print log when getting project ctx fails
2022-04-18 20:36:41 +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
Kevin Wan
3febb1a5d0
chore: refactor code (#1700) 2022-03-23 19:09:45 +08:00
anqiansong
0aeb49a6b0
Add verbose flag (#1696)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-03-22 21:00:26 +08:00
anqiansong
68a81fea8a
Fix #1609 (#1617) 2022-03-05 22:52:32 +08:00
anqiansong
08a8bd7ef7
Fix #1614 (#1616) 2022-03-05 21:40:41 +08:00
anqiansong
daa98f5a27
Feature: Add goctl env (#1557) 2022-02-21 10:19:33 +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
anqiansong
8bd89a297a
feature: Add goctl completion (#1505)
* feature: Add `goctl completion`

* Update const

Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-02-08 10:50:21 +08:00
Kevin Wan
4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 2022-01-25 23:15:07 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 2022-01-04 15:51:32 +08:00
anqiansong
89ce5e492b
refactor file|path (#1409)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-01-03 21:32:40 +08:00
anqiansong
8e9110cedf
fix #1330 (#1382)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2021-12-30 20:44:04 +08:00
Kevin Wan
d6ff30a570
chore: fix golint issues (#1396) 2021-12-30 17:44:15 +08:00
anqiansong
b8ea16a88e
feat: Add --remote (#1387)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2021-12-29 18:16:42 +08:00
anqiansong
0cb86c6990
reset link goctl (#1232) 2021-11-13 18:39:07 +08:00
anqiansong
9c48e9ceab
Feature add template version (#1152) 2021-10-29 09:55:41 +08:00
anqiansong
44202acb18
Fix issue #1127 (#1131)
* fix #1127

* fix #1127

* fixed unit test

* add go keyword converter

Co-authored-by: anqiansong <anqiansong@bytedance.com>
2021-10-13 20:48:47 +08:00
Kevin Wan
65905b914d
ci: add reviewdog (#1096) 2021-09-29 13:09:20 +08:00
anqiansong
e8a340c1c0
Create a symbol link file named protoc-gen-goctl from goctl (#1076) 2021-09-21 23:13:31 +08:00
anqiansong
9a724fe907
Add MustTempDir (#1069) 2021-09-21 10:13:43 +08:00