Kevin Wan
3ae6a882a7
chore: run unit test with go 1.14 ( #1084 )
2021-09-23 15:30:40 +08:00
Amor
41c980f00c
update goctl api ( #1052 )
...
* update goctl api
* add LoadTemplate
* update new api template
* update
2021-09-23 14:31:11 +08:00
shenbaise9527
f34d81ca2c
chore: when run goctl-rpc, the order of proto message aliases should be ( #1078 )
...
fixed
Co-authored-by: steven <steven.zhou@1quant.com>
2021-09-23 14:24:21 +08:00
NevS
004ee488a6
fix AtomicError panic when Set nil ( #1049 ) ( #1050 )
2021-09-23 14:23:02 +08:00
Kevin Wan
2e12cd2c99
coding style ( #1083 )
2021-09-23 11:19:57 +08:00
neosu
2695c30886
we can use otel.ErrorHandlerFunc instead of custom struct when we update OpenTelemetry to 1.0.0 ( #1081 )
2021-09-23 10:42:45 +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
74ad681a66
update issue templates ( #1074 )
2021-09-21 14:13:28 +08:00
Kevin Wan
e7bbc09093
Update issue templates
2021-09-21 13:58:21 +08:00
Kevin Wan
1eb1450c43
downgrade golang-jwt to support go 1.14 ( #1073 )
2021-09-21 13:42:45 +08:00
anqiansong
9a724fe907
Add MustTempDir ( #1069 )
2021-09-21 10:13:43 +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
anqiansong
7fb5bab26b
fix #1058 ( #1064 )
2021-09-19 08:53:41 +08:00
Kevin Wan
27249e021f
add repo moving notice ( #1062 )
2021-09-18 22:24:45 +08:00
Kevin Wan
d809795fec
add go-zero users ( #1061 )
2021-09-18 22:01:15 +08:00
Kevin Wan
c9db9588b7
chore: fix comment issues ( #1056 )
2021-09-17 17:11:03 +08:00
Kevin Wan
872c50b71a
chore: make comment accurate ( #1055 )
2021-09-17 11:11:42 +08:00
Kevin Wan
7c83155e4f
mention cncf landscape ( #1054 )
2021-09-17 10:44:42 +08:00
Kevin Wan
358d86b8ae
add go-zero users ( #1051 )
2021-09-16 15:06:42 +08:00
Kevin Wan
f4bb9f5635
fix test error on ubuntu ( #1048 )
2021-09-15 13:31:20 +08:00
Jerry Liang
5c6a3132eb
fix typo parse.go error message ( #1041 )
2021-09-14 10:26:44 +08:00
Kevin Wan
2bd95aa007
update goctl version to 1.2.1 ( #1042 )
2021-09-14 08:32:56 +08:00
Kevin Wan
e8376936d5
remove goctl config command ( #1035 )
2021-09-13 14:04:06 +08:00
Kevin Wan
71c0288023
fix symlink issue on windows for goctl ( #1034 )
...
* fix symlink issue on windows for goctl
* move readlink into separate file
2021-09-13 11:49:07 +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
24fd34413f
fix golint issues ( #1027 )
2021-09-12 16:15:42 +08:00
Kevin Wan
3f47251892
fix proc.Done not found in windows ( #1026 )
2021-09-12 15:41:33 +08:00
Kevin Wan
0b6bc69afa
reorg imports, format code ( #1024 )
2021-09-11 21:28:47 +08:00
anqiansong
5b9bdc8d02
Merge pull request #1023 from anqiansong/1014-rollback
...
revert changes
2021-09-11 20:58:42 +08:00
anqiansong
ded22e296e
revert changes
2021-09-11 20:57:58 +08:00
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>
2021-09-11 12:48:32 +08:00
Kevin Wan
6bf6cfdd01
add go-zero users ( #1022 )
2021-09-10 22:03:24 +08:00
Kevin Wan
5cc9eb0de4
rename sharedcalls to singleflight ( #1017 )
2021-09-09 18:06:27 +08:00
Kevin Wan
f070d447ef
refactor for better error reporting on sql error ( #1016 )
...
* refactor for better error reporting on sql error
* fix errors
* add docs
2021-09-09 15:43:33 +08:00
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
2021-09-09 11:40:28 +08:00
Kevin Wan
56807aabf6
fix golint issues, update codecov settings. ( #1011 )
...
* update codecov settings
* fix golint issues
2021-09-07 22:33:02 +08:00
Kevin Wan
861dcf2f36
update codecov settings ( #1010 )
2021-09-07 18:09:53 +08:00
Kevin Wan
c837dc21bb
refactoring tracing interceptors. ( #1009 )
...
* refactor tracing interceptors
* add stream tracing interceptor
2021-09-07 17:58:22 +08:00
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
2021-09-07 15:38:40 +08:00
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
2021-09-07 12:02:41 +08:00
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>
2021-09-07 11:03:04 +08:00
neosu
d8905b9e9e
add api template file ( #1003 )
2021-09-07 10:16:10 +08:00
neosu
dec6309c55
add opentelemetry test ( #1002 )
2021-09-07 09:26:45 +08:00
Kevin Wan
10805577f5
reorg imports, format code ( #1000 )
2021-09-06 14:56:46 +08:00
SunJun
a4d8286e36
开启otel后,tracelog自动获取otle的traceId和spanId ( #946 )
...
* 开启otel后,tracelog自动获取otle的traceId和spanId
* 去除opentelemetry判断
* 通过 IsRecording 判断span是否活跃
2021-09-06 14:31:54 +08:00
anqiansong
84d2b64e7c
optimize unit test ( #999 )
2021-09-06 14:20:21 +08:00
Kevin Wan
6476da4a18
rest log with context ( #998 )
2021-09-05 22:58:42 +08:00