Skip to content

Commit

Permalink
Fix: export method getArgsTypeList for extension
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin committed May 30, 2022
1 parent a0528f2 commit e5e2efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/dubbo/impl/hessian.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e5e2efa

Please sign in to comment.