This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 80a3b5b0a Fix: export method getArgsTypeList for extension (#1911)
80a3b5b0a is described below
commit 80a3b5b0ac758196dfc55050e7cc9160a30c9564
Author: Laurence <[email protected]>
AuthorDate: Mon May 30 23:16:18 2022 +0800
Fix: export method getArgsTypeList for extension (#1911)
---
protocol/dubbo/impl/hessian.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/protocol/dubbo/impl/hessian.go b/protocol/dubbo/impl/hessian.go
index 79e531abf..c23584366 100644
--- a/protocol/dubbo/impl/hessian.go
+++ b/protocol/dubbo/impl/hessian.go
@@ -129,7 +129,7 @@ func marshalRequest(encoder *hessian.Encoder, p
DubboPackage) ([]byte, error) {
logger.Infof("request args are: %+v", request.Params)
return nil, perrors.Errorf("@params is not of type:
[]interface{}")
}
- types, err := getArgsTypeList(args)
+ types, err := GetArgsTypeList(args)
if err != nil {
return nil, perrors.Wrapf(err, " PackRequest(args:%+v)", args)
}
@@ -392,7 +392,7 @@ func buildServerSidePackageBody(pkg *DubboPackage) {
}
}
-func getArgsTypeList(args []interface{}) (string, error) {
+func GetArgsTypeList(args []interface{}) (string, error) {
var (
typ string
types string