File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
go-server/tests/integration Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ func main() {
3636 // parameter type
3737 []string {" org.apache.dubbo.User" },
3838 // parameter array
39- []interface {} {user},
39+ []hessian. Object {user},
4040 },
4141 )
4242}
4343
44- ```
44+ ```
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ func main() {
3333 // 参数类型数组
3434 []string {" org.apache.dubbo.User" },
3535 // 参数数组
36- []interface {} {user},
36+ []hessian. Object {user},
3737 },
3838 )
3939}
4040
41- ```
41+ ```
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import (
2828import (
2929 "github.com/apache/dubbo-go/config"
3030
31+ hessian "github.com/apache/dubbo-go-hessian2"
3132 "github.com/stretchr/testify/assert"
3233)
3334
@@ -37,7 +38,7 @@ func TestGetUser(t *testing.T) {
3738 []interface {}{
3839 "GetUser" ,
3940 []string {"java.lang.String" },
40- []interface {} {"A003" },
41+ []hessian. Object {"A003" },
4142 },
4243 )
4344
@@ -62,7 +63,7 @@ func TestQueryUser(t *testing.T) {
6263 []interface {}{
6364 "queryUser" ,
6465 []string {"org.apache.dubbo.User" },
65- []interface {} {user },
66+ []hessian. Object {user },
6667 },
6768 )
6869
You can’t perform that action at this time.
0 commit comments