Commit Graph

103 Commits (95b7a3d3ce81a51b476efd2f17d1c0011db82c95)

Author SHA1 Message Date
Kevin Wan 92e5819e91
opt: improve logx performance (#3371) 1 year ago
2822132073 8d23ab158b
fix In `goctl new api`, occur error `invalid character 'A' looking for beginning of value` (#3357) 1 year ago
唐小鸭 bcccfab824
[fix] The directory is not recognized when it is in a soft link (#3337) 1 year ago
elza 4a29a0b642
fix: fixed goctl api go --home parameter error when loading non-exist… (#3319)
Co-authored-by: yuanyou <yuanyou@kezaihui.com>
1 year ago
guangwu f0bdfb928f
fix call error func (#3245) 2 years ago
guangwu 63368d8b0c
io/ioutil deprecated (#3217) 2 years ago
ALMAS 774e8d1d08
feat: replaced color package to support Windows (#3207) 2 years ago
anqiansong 1904af2323
feat(goctl): Support gateway sample generation (#3049) 2 years ago
anqiansong 50bc361430
feat(goctl): Add api parser (#2585) 2 years ago
Kevin Wan 3a493cd6a6
chore: add more tests (#3006) 2 years ago
Kevin Wan eab904af64
chore: update goctl interface{} to any (#2819)
* chore: update goctl interface{} to any

* chore: update goctl interface{} to any
2 years ago
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
2 years ago
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
2 years ago
anqiansong a49f9060c2
Add more test (#2692) 2 years ago
fyyang ebe28882eb
fix: Fix string.title (#2687)
* fix: unsignedTypeMap type error

* fix: string.Title

* style: string.Title test
2 years ago
EinfachePhy 10fd9131a1
replace strings.Title to cases.Title (#2650) 2 years ago
王哈哈 dac3600b53
Modify comment syntax error (#2572) 2 years ago
foliet 07128213d6
chore: update "DO NOT EDIT" format (#2559)
* chore: update "DO NOT EDIT" format

* Update readme.md

* Update head.go
2 years ago
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
2 years ago
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
2 years ago
anqiansong 5e7b1f6bfe
Fix process blocking problem during check (#1911) 3 years ago
Kevin Wan 5d09cd0e7c
use goproxy properly, remove files (#1903) 3 years ago
anqiansong f486685e99
Fix code generation (#1897) 3 years ago
Kevin Wan 5451d96a81
chore: update some logs (#1875) 3 years ago
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
3 years ago
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
3 years ago
Kevin Wan ac18cc470d
chore: refactor to use const instead of var (#1731) 3 years ago
Fyn f4471846ff
feat(goctl): supports model code 'DO NOT EDIT' (#1728)
Resolves: #1710
3 years ago
Kevin Wan 3febb1a5d0
chore: refactor code (#1700) 3 years ago
anqiansong 0aeb49a6b0
Add verbose flag (#1696)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 68a81fea8a
Fix #1609 (#1617) 3 years ago
anqiansong 08a8bd7ef7
Fix #1614 (#1616) 3 years ago
anqiansong daa98f5a27
Feature: Add goctl env (#1557) 3 years ago
Kevin Wan 6deb80625d
fix issue of default migrate version (#1536)
* fix issue of default migrate version

* chore: update console colors
3 years ago
anqiansong 8bd89a297a
feature: Add `goctl completion` (#1505)
* feature: Add `goctl completion`

* Update const

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
anqiansong 89ce5e492b
refactor file|path (#1409)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 8e9110cedf
fix #1330 (#1382)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan d6ff30a570
chore: fix golint issues (#1396) 3 years ago
anqiansong b8ea16a88e
feat: Add --remote (#1387)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 0cb86c6990
reset link goctl (#1232) 3 years ago
anqiansong 9c48e9ceab
Feature add template version (#1152) 3 years ago
anqiansong 44202acb18
Fix issue #1127 (#1131)
* fix #1127

* fix #1127

* fixed unit test

* add go keyword converter

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 65905b914d
ci: add reviewdog (#1096) 3 years ago
anqiansong e8a340c1c0
Create a symbol link file named protoc-gen-goctl from goctl (#1076) 3 years ago
anqiansong 9a724fe907
Add MustTempDir (#1069) 3 years ago
anqiansong 7fb5bab26b
fix #1058 (#1064) 3 years ago
Kevin Wan 71c0288023
fix symlink issue on windows for goctl (#1034)
* fix symlink issue on windows for goctl

* move readlink into separate file
3 years ago
Kevin Wan 0b6bc69afa
reorg imports, format code (#1024) 3 years ago