This is an automated email from the ASF dual-hosted git repository. laurence pushed a commit to branch export-hessian-type-api in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
commit e5e2efa63e57f5e22d7231dc8d3cc72e4ed108e6 Author: LaurenceLiZhixin <[email protected]> AuthorDate: Mon May 30 18:18:25 2022 +0800 Fix: export method getArgsTypeList for extension --- 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
