Commit Graph

942 Commits (004ee488a636a4878c7e6860b337a96f1466f58f)
 

Author SHA1 Message Date
NevS 004ee488a6
fix AtomicError panic when Set nil (#1049) (#1050) 3 years ago
Kevin Wan 2e12cd2c99
coding style (#1083) 3 years ago
neosu 2695c30886
we can use otel.ErrorHandlerFunc instead of custom struct when we update OpenTelemetry to 1.0.0 (#1081) 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 74ad681a66
update issue templates (#1074) 3 years ago
Kevin Wan e7bbc09093 Update issue templates 3 years ago
Kevin Wan 1eb1450c43
downgrade golang-jwt to support go 1.14 (#1073) 3 years ago
anqiansong 9a724fe907
Add MustTempDir (#1069) 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
anqiansong 7fb5bab26b
fix #1058 (#1064) 3 years ago
Kevin Wan 27249e021f
add repo moving notice (#1062) 3 years ago
Kevin Wan d809795fec
add go-zero users (#1061) 3 years ago
Kevin Wan c9db9588b7
chore: fix comment issues (#1056) 3 years ago
Kevin Wan 872c50b71a
chore: make comment accurate (#1055) 3 years ago
Kevin Wan 7c83155e4f
mention cncf landscape (#1054) 3 years ago
Kevin Wan 358d86b8ae
add go-zero users (#1051) 3 years ago
Kevin Wan f4bb9f5635
fix test error on ubuntu (#1048) 3 years ago
Jerry Liang 5c6a3132eb
fix typo parse.go error message (#1041) 3 years ago
Kevin Wan 2bd95aa007
update goctl version to 1.2.1 (#1042) 3 years ago
Kevin Wan e8376936d5
remove goctl config command (#1035) 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 9e2f07a842
update k8s.io/client-go etc to use go 1.15 (#1031) 3 years ago
Kevin Wan 24fd34413f
fix golint issues (#1027) 3 years ago
Kevin Wan 3f47251892
fix proc.Done not found in windows (#1026) 3 years ago
Kevin Wan 0b6bc69afa
reorg imports, format code (#1024) 3 years ago
anqiansong 5b9bdc8d02
Merge pull request #1023 from anqiansong/1014-rollback
revert changes
3 years ago
anqiansong ded22e296e revert changes 3 years ago
anqiansong f0ed2370a3
fix #1014 (#1018)
* fix #1014

* remove unused code

* * optimize generate pb.go on Windows
* format code
* optimize console.go

* version rollback

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 6bf6cfdd01
add go-zero users (#1022) 3 years ago
Kevin Wan 5cc9eb0de4
rename sharedcalls to singleflight (#1017) 3 years ago
Kevin Wan f070d447ef
refactor for better error reporting on sql error (#1016)
* refactor for better error reporting on sql error

* fix errors

* add docs
3 years ago
Kevin Wan f6d9e19ecb
expose sql.DB to let orm operate on it (#1015)
* expose sql.DB to let orm operate on it

* add missing RawDB methods

* add NewSqlConnFromDB for cooperate with dtm
3 years ago
Kevin Wan 56807aabf6
fix golint issues, update codecov settings. (#1011)
* update codecov settings

* fix golint issues
3 years ago
Kevin Wan 861dcf2f36
update codecov settings (#1010) 3 years ago
Kevin Wan c837dc21bb
refactoring tracing interceptors. (#1009)
* refactor tracing interceptors

* add stream tracing interceptor
3 years ago
Kevin Wan 96a35ecf1a
fix #1006 (#1008)
* use sdktrace instead of trace for opentelemetry to avoid conflicts

* disable opentelemetry for right now

* use os.ModeSymlink instead of fs.ModeSymlink for backward compatibility
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
shenbaise9527 bc92b57bdb
api文件中使用group时生成的handler和logic的包名应该为group的名字 (#545)
* api文件中使用group时生成的handler和logic的包名应该为group的名字

* Update genhandlers.go

fix errors.

Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
3 years ago
neosu d8905b9e9e
add api template file (#1003) 3 years ago
neosu dec6309c55
add opentelemetry test (#1002) 3 years ago
Kevin Wan 10805577f5
reorg imports, format code (#1000) 3 years ago
SunJun a4d8286e36
开启otel后,tracelog自动获取otle的traceId和spanId (#946)
* 开启otel后,tracelog自动获取otle的traceId和spanId

* 去除opentelemetry判断

* 通过 IsRecording 判断span是否活跃
3 years ago
anqiansong 84d2b64e7c
optimize unit test (#999) 3 years ago
Kevin Wan 6476da4a18
rest log with context (#998) 3 years ago
Kevin Wan 79eab0ea2f
refactor to shorter config name (#997) 3 years ago
Allen Liu 3b683fd498
feat: change logger to traceLogger for getting traceId when recovering (#374) 3 years ago
toven tang d179b342b2
修复使用 postgres 数据库时,位置参数重复,导致参数与值不对应的问题。 (#960)
* 修复使用 postgres 数据库时,位置参数重复,导致参数与值不对应的问题。

* 修复使用 postgres 数据库时,位置参数重复,导致参数与值不对应的问题。

Co-authored-by: toven <toven@advan.onaliyun.com>
3 years ago