mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-06-07 14:40:19 +08:00
chore: update goctl interface{} to any (#2819)
* chore: update goctl interface{} to any
* chore: update goctl interface{} to any
This commit is contained in:
@@ -143,7 +143,7 @@ func file_hello_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_hello_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_hello_proto_goTypes = []interface{}{
|
||||
var file_hello_proto_goTypes = []any{
|
||||
(*HelloReq)(nil), // 0: hello.HelloReq
|
||||
(*HelloResp)(nil), // 1: hello.HelloResp
|
||||
}
|
||||
@@ -163,7 +163,7 @@ func file_hello_proto_init() {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_hello_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_hello_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*HelloReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -175,7 +175,7 @@ func file_hello_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_hello_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_hello_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*HelloResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
||||
Reference in New Issue
Block a user