Commit Graph

101 Commits (111e626a73fe8ef8c7bac8ea407eef0d0a5644c6)

Author SHA1 Message Date
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 776e6e647d
feat: tidy mod, add go.mod for goctl (#1328) 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
anqiansong 0cb86c6990
reset link goctl (#1232) 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 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 769d06c8ab
refactor: simplify tls config in rest (#1181) 3 years ago
Kevin Wan 10e7922597
feat: opentelemetry integration, removed self designed tracing (#1111)
* feat: opentelemetry integration, removed self designed tracing

* feat: support zipkin on opentelemetry integration

* feat: support zipkin on opentelemetry integration, enable it in conf

* style: format code

* fix: support logx without exporter configured

* fix: check return values

* refactor: simplify code

* refactor: simplify opentelemetry integration

* ci: fix staticcheck errors
3 years ago
Kevin Wan cdd2fcbbc9
update grpc package (#1099) 3 years ago
Kevin Wan c74fb988e0
update go.mod (#1079) 3 years ago
anqiansong e8a340c1c0
Create a symbol link file named protoc-gen-goctl from goctl (#1076) 3 years ago
Kevin Wan 06e114e5a3
update OpenTelemetry to 1.0.0 (#1075) 3 years ago
Kevin Wan 1eb1450c43
downgrade golang-jwt to support go 1.14 (#1073) 3 years ago
Kevin Wan 30e49f2939
fix jwt security issue by using golang-jwt package (#1066) 3 years ago
Kevin Wan a5407479a6
upgrade grpc version & replace github.com/golang/protobuf/protoc-gen-go with google.golang.org/protobuf (#1065) 3 years ago
Kevin Wan 9e2f07a842
update k8s.io/client-go etc to use go 1.15 (#1031) 3 years ago
Kevin Wan 20f665ede8
implement k8s service discovery (#988)
* implement k8s service discovery

* simplify code

* use default namespace if not provided

* disable codecov bot comment

* ignore adhoc dir

* simplify building target in NewClient

* reformat code

* Fix filepath (#990)

* format code, and reorg imports (#991)

* add more unit test

Co-authored-by: anqiansong <anqiansong@gmail.com>
3 years ago
Kevin Wan cd15c19250
fix lint errors (#937) 3 years ago
neosu 5b35fa17de
add the opentelemetry tracing (#908)
* add the opentelemetry tracing

* fix the error sampler config

* 添加stream的链路跟踪

* fix the error field name
3 years ago
Kevin Wan 603c93aa4a
upgrade grpc package (#845) 3 years ago
anqiansong 9b2a279948
Fix issues: #725, #740 (#813)
* Fix issues: #725, #740

* Update filed sort

Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
Kevin Wan 3e8cec5c78
upgrade grpc & etcd dependencies (#771) 3 years ago
Chen Quan 14141fed62
Add some stream features (#712)
* Add some stream features

* Update empty

* Fix initialization loop

* Delete ForeachOrdered && Fix FindFirst

* Add test case && Delete redundant code

* Update test case

* Delete SplitSteam

* Delete redundant code
4 years ago
anqiansong df5ae9507f
replace antlr module (#672)
* replace antlr module

* refactor version of antlr
4 years ago
anqiansong f64fe5eb5e
fix antlr mod (#669) 4 years ago
Kevin Wan 1789b12db2
move examples into zero-examples (#453)
* move examples to zero-examples

* tidy go.mod

* add examples refer in readme
4 years ago
kingxt ee19fb736b
feature: refactor api parse to g4 (#365)
* feature: refactor api parse to g4

* new g4 parser

* add CHANGE_LOG.MD

* refactor

* fix byte bug

* refactor

* optimized

* optimized

* revert

* update readme.md

* update readme.md

* update readme.md

* update readme.md

* remove no need

* fix java gen

* add upgrade

* resolve confilits

Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
Kevin Wan 0d7f1d23b4
require go 1.14 (#263)
* refactor & format code

* optimized parse tag (#256)

* feature plugin custom flag (#251)

* support plugin custom flags

* add short name

* remove log

* remove log

* require go 1.14

Co-authored-by: kingxt <kingxt4job@gmail.com>
Co-authored-by: songmeizi <anqiansong@xiaoheiban.cn>
4 years ago
kingxt 67804a6bb2
optimized parse tag (#256) 4 years ago
Kevin Wan 7a82cf80ce
support k8s deployment yaml generation (#247)
* simplify code, format makefile

* simplify code

* some optimize by kevwan and benying (#240)

Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>

* optimization (#241)

* optimize docker file generation, make docker build faster

* support k8s deployment yaml generation

Co-authored-by: benying <31179034+benyingY@users.noreply.github.com>
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
Co-authored-by: bittoy <bittoy@qq.com>
4 years ago
kevin abcb28e506 support error customization 4 years ago
bittoy 3819f67cf4
add redis geospatial (#209)
* add redis geospatial

* fix go test error
4 years ago
kevin afbd565d87 rename postgres 4 years ago
kevin 57079bf4a4 update cli package 4 years ago
Keson 0a9c427443
Goctl rpc patch (#117)
* remove mock generation

* add: proto project import

* update document

* remove mock generation

* add: proto project import

* update document

* remove NL

* update document

* optimize code

* add test

* add test
4 years ago
kevin 4a639b853c add more tests 4 years ago
kevin 55c9c3f3dd replace clickhouse driver to the official one 4 years ago
kevin ea1c9aa250 support go 1.13 4 years ago
Keson db16115037
rpc service generation (#26)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* update usage

* fixed env prepare for project in go path

* optimize gomod cache

* add README.md

* format error

* reactor templatex.go

* remove waste code
4 years ago
kevin 30e52707ae add more tests 4 years ago
Keson d21d770b5b
goctl model reactor (#15)
* reactor sql generation

* reactor sql generation

* add console & example

* optimize unit test & add document

* modify default config

* remove test file

* Revert "remove test file"

This reverts commit 81041f9e

* fix stringx.go & optimize example

* remove unused code
4 years ago
stevenzack 926d746df5 Add goctl kotlin support 4 years ago
kevin d19d25c72f change module in go.mod 4 years ago
kevin c7544d0e60 backup 4 years ago
kevin 1670f6cfc3 update packages 4 years ago
kevin 6d9602fa35 remove packages 4 years ago
kevin 87dab2eeab refactor 4 years ago
kevin ffddfa62bb fix compile errors 4 years ago
kevin b1975d29a7 update packages 4 years ago
kevin 7e3a369a8f initial import 4 years ago