Kevin Wan
af05219b70
test: make tests stable ( #1968 )
...
* test: make tests stable
* test: fix fails
3 years ago
Kevin Wan
87800419f5
chore: update dependencies ( #1963 )
3 years ago
Kevin Wan
6b1e15cab1
chore: update k8s.io/client-go for security reason, go is upgrade to 1.16 ( #1912 )
...
* chore: fix jwt dependency security issue
* chore: update clickhouse driver
* chore: fix a security issue
* chore: update dependencies
3 years ago
Kevin Wan
1e717f9f5c
feat: add toml config ( #1899 )
3 years ago
Kevin Wan
69c2bad410
feat: logx with color ( #1872 )
...
* feat: logx with color
* chore: update logs
* fix test error
* chore: change colors of http codes
* chore: add comments
* chore: use faith/color instead of ascii code color
* chore: update colors
* chore: update colors
* chore: fix duplicated slowcall text
* chore: remove slowcall colors
3 years ago
Kevin Wan
ec3e02624c
feat: upgrade grpc to 1.46, and remove the deprecated grpc.WithBalancerName ( #1820 )
3 years ago
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
3 years ago
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
3 years ago
Kevin Wan
168740b64d
chore: upgrade etcd ( #1597 )
3 years ago
Kevin Wan
e60e707955
upgrade grpc version ( #1530 )
3 years ago
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
3 years ago
Kevin Wan
c1d2634427
chore: update go version for goctl ( #1484 )
3 years ago
Kevin Wan
468c237189
chore: upgrade dependencies ( #1444 )
...
* chore: upgrade dependencies
* ci: upgrade go to 1.15
3 years ago
Kevin Wan
ea4f2af67f
fix: mr goroutine leak on context deadline ( #1433 )
...
* fix: mr goroutine leak on context deadline
* test: update fx test check
3 years ago
anqiansong
9d67fc4cfb
feat: Add migrate ( #1419 )
...
* Add migrate
* Remove unused module
* refactor filename
* rename refactor to migrate
Co-authored-by: anqiansong <anqiansong@bytedance.com>
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
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
bdec5f2349
use sdktrace instead of trace for opentelemetry to avoid conflicts ( #1005 )
...
* use sdktrace instead of trace for opentelemetry to avoid conflicts
* disable opentelemetry for right now
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
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
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
bittoy
3819f67cf4
add redis geospatial ( #209 )
...
* add redis geospatial
* fix go test error
4 years ago
kevin
e898761762
update example
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
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
0a7e0cce77
update package reference
4 years ago
kim
41afe1f39d
merge master
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