Kevin Wan
ec3e02624c
feat: upgrade grpc to 1.46, and remove the deprecated grpc.WithBalancerName ( #1820 )
2022-04-24 22:42:40 +08:00
Kevin Wan
2cdff97934
feat: use mongodb official driver instead of mgo ( #1782 )
...
* wip: backup
* wip: backup
* wip: backup
* backup
* backup
* backup
* add more tests
* fix wrong dependency
* fix lint errors
* remove test due to data race
* add tests
* fix test error
* add mon.Model
* add mon.Model unmarshal
* add monc
* add more tests for monc
* add more tests for monc
* add docs for mon and monc packages
* fix doc errors
* chhore: add comment
* chore: fix test bug
* chore: refine tests
* chore: remove primitive.NewObjectID in test code
* chore: rename test files for typo
2022-04-19 14:03:04 +08:00
Kevin Wan
c05d74b44c
feat: support cpu stat on cgroups v2 ( #1636 )
...
* feat: cpu stat
* feat: add cpu stat for cgroup2
* feat: add cpu stat for cgroup2, tidy mod
* feat: support cpu stat in cgroup v2
2022-03-12 21:00:04 +08:00
Kevin Wan
168740b64d
chore: upgrade etcd ( #1597 )
2022-03-01 20:16:44 +08:00
Kevin Wan
e60e707955
upgrade grpc version ( #1530 )
2022-02-12 23:58:41 +08:00
Kevin Wan
822ee2e1c5
feat: update go-redis to v8, support ctx in redis methods ( #1507 )
...
* feat: update go-redis to v8, support ctx in redis methods
* fix compile errors
* chore: remove unused const
* chore: add tracing log on redis
2022-02-09 11:06:06 +08:00
Kevin Wan
468c237189
chore: upgrade dependencies ( #1444 )
...
* chore: upgrade dependencies
* ci: upgrade go to 1.15
2022-01-14 11:01:02 +08:00
Kevin Wan
8d6d37f71e
remove unnecessary drain, fix data race ( #1435 )
...
* remove unnecessary drain, fix data race
* chore: fix parameter order
* refactor: rename MapVoid to ForEach in mr
2022-01-11 16:17:51 +08:00
Kevin Wan
ea4f2af67f
fix: mr goroutine leak on context deadline ( #1433 )
...
* fix: mr goroutine leak on context deadline
* test: update fx test check
2022-01-10 22:06:10 +08:00
anqiansong
9d67fc4cfb
feat: Add migrate ( #1419 )
...
* Add migrate
* Remove unused module
* refactor filename
* rename refactor to migrate
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-01-06 18:48:34 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
2022-01-04 15:51:32 +08:00
Kevin Wan
776e6e647d
feat: tidy mod, add go.mod for goctl ( #1328 )
2021-12-15 19:44:49 +08:00
Kevin Wan
8086ad120b
Revert "feat: reduce dependencies of framework by add go.mod in goctl ( #1290 )" ( #1291 )
...
This reverts commit 87a445689c
.
2021-12-02 19:40:23 +08:00
Kevin Wan
87a445689c
feat: reduce dependencies of framework by add go.mod in goctl ( #1290 )
2021-12-02 16:57:07 +08:00
anqiansong
0cb86c6990
reset link goctl ( #1232 )
2021-11-13 18:39:07 +08:00
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>
2021-11-07 22:44:37 +08:00
Kevin Wan
e8efcef108
update dependencies. ( #1210 )
...
* chore: update dependencies
* chore: update dependencies
* chore: update dependencies
* chore: update dependencies
* chore: fix test failure
2021-11-07 16:38:20 +08:00
Kevin Wan
769d06c8ab
refactor: simplify tls config in rest ( #1181 )
2021-10-31 14:10:47 +08:00
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
2021-10-03 20:53:50 +08:00
Kevin Wan
cdd2fcbbc9
update grpc package ( #1099 )
2021-09-29 19:30:06 +08:00
Kevin Wan
c74fb988e0
update go.mod ( #1079 )
2021-09-22 21:54:54 +08:00
anqiansong
e8a340c1c0
Create a symbol link file named protoc-gen-goctl from goctl ( #1076 )
2021-09-21 23:13:31 +08:00
Kevin Wan
06e114e5a3
update OpenTelemetry to 1.0.0 ( #1075 )
2021-09-21 23:11:36 +08:00
Kevin Wan
1eb1450c43
downgrade golang-jwt to support go 1.14 ( #1073 )
2021-09-21 13:42:45 +08:00
Kevin Wan
30e49f2939
fix jwt security issue by using golang-jwt package ( #1066 )
2021-09-19 22:33:35 +08:00
Kevin Wan
a5407479a6
upgrade grpc version & replace github.com/golang/protobuf/protoc-gen-go with google.golang.org/protobuf ( #1065 )
2021-09-19 21:37:55 +08:00
Kevin Wan
9e2f07a842
update k8s.io/client-go etc to use go 1.15 ( #1031 )
2021-09-13 10:45:34 +08:00
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>
2021-09-04 10:27:08 +08:00
Kevin Wan
cd15c19250
fix lint errors ( #937 )
2021-08-22 10:24:32 +08:00
neosu
5b35fa17de
add the opentelemetry tracing ( #908 )
...
* add the opentelemetry tracing
* fix the error sampler config
* 添加stream的链路跟踪
* fix the error field name
2021-08-22 10:03:56 +08:00
Kevin Wan
603c93aa4a
upgrade grpc package ( #845 )
2021-07-24 22:29:02 +08:00
anqiansong
9b2a279948
Fix issues: #725 , #740 ( #813 )
...
* Fix issues: #725 , #740
* Update filed sort
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-16 22:55:39 +08:00
Kevin Wan
3e8cec5c78
upgrade grpc & etcd dependencies ( #771 )
2021-06-21 09:05:20 +08:00
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
2021-06-10 18:20:40 +08:00
anqiansong
df5ae9507f
replace antlr module ( #672 )
...
* replace antlr module
* refactor version of antlr
2021-05-08 21:35:27 +08:00
anqiansong
f64fe5eb5e
fix antlr mod ( #669 )
2021-05-08 00:03:01 +08:00
Kevin Wan
1789b12db2
move examples into zero-examples ( #453 )
...
* move examples to zero-examples
* tidy go.mod
* add examples refer in readme
2021-02-08 22:23:36 +08:00
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>
2021-01-11 15:10:51 +08:00
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>
2020-12-09 22:43:42 +08:00
kingxt
67804a6bb2
optimized parse tag ( #256 )
2020-12-09 11:16:38 +08:00
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>
2020-12-07 00:07:50 +08:00
kevin
abcb28e506
support error customization
2020-11-17 17:11:06 +08:00
bittoy
3819f67cf4
add redis geospatial ( #209 )
...
* add redis geospatial
* fix go test error
2020-11-16 19:45:43 +08:00
kevin
afbd565d87
rename postgres
2020-11-09 17:22:51 +08:00
kevin
57079bf4a4
update cli package
2020-11-07 20:01:25 +08:00
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
2020-10-10 16:19:46 +08:00
kevin
4a639b853c
add more tests
2020-10-08 09:42:20 +08:00
kevin
55c9c3f3dd
replace clickhouse driver to the official one
2020-09-03 16:58:31 +08:00
kevin
ea1c9aa250
support go 1.13
2020-09-01 15:04:01 +08:00
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
2020-08-28 19:24:58 +08:00
kevin
30e52707ae
add more tests
2020-08-26 14:19:16 +08:00
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
2020-08-19 10:41:19 +08:00
stevenzack
926d746df5
Add goctl kotlin support
2020-08-17 16:54:56 +08:00
kevin
d19d25c72f
change module in go.mod
2020-08-08 15:51:28 +08:00
kevin
c7544d0e60
backup
2020-08-06 14:11:39 +08:00
kevin
1670f6cfc3
update packages
2020-08-06 14:05:09 +08:00
kevin
6d9602fa35
remove packages
2020-08-06 13:55:09 +08:00
kevin
87dab2eeab
refactor
2020-07-29 20:00:39 +08:00
kevin
ffddfa62bb
fix compile errors
2020-07-29 18:02:15 +08:00
kevin
b1975d29a7
update packages
2020-07-28 18:26:55 +08:00
kevin
7e3a369a8f
initial import
2020-07-26 17:09:05 +08:00