This is an automated email from the ASF dual-hosted git repository. mark4z pushed a commit to branch 1.0.0 in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
commit a390c61ea0a6f952e3b8a38dab6fb0002ca619b2 Author: Mengchao.Lv1 <Mengchao.Lv1@a.c> AuthorDate: Sat Dec 2 19:47:38 2023 +0800 remove unused types JTypeMapper check & support default types. --- pixiu/pkg/client/dubbo/option.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixiu/pkg/client/dubbo/option.go b/pixiu/pkg/client/dubbo/option.go index 7ed47bc4..dfcca505 100644 --- a/pixiu/pkg/client/dubbo/option.go +++ b/pixiu/pkg/client/dubbo/option.go @@ -191,7 +191,7 @@ func (opt *paramTypesOpt) Action(target, val interface{}) error { return errors.New("Target is not dubboTarget in target parameter") } // empty types for func like func() - var types []string + types := make([]string, 0) if v, ok := val.(string); ok { if len(v) > 0 { types = strings.Split(v, ",")