From 4c6cf2ecc3b5380bc4ae887f97c3b458204c2288 Mon Sep 17 00:00:00 2001 From: "jie.wang" <38901892+jievince@users.noreply.github.com> Date: Thu, 11 Nov 2021 15:37:17 +0800 Subject: [PATCH] fix toString of set (#159) --- value_wrapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/value_wrapper.go b/value_wrapper.go index 90bd2989..cf66f691 100644 --- a/value_wrapper.go +++ b/value_wrapper.go @@ -383,7 +383,7 @@ func (valWrap ValueWrapper) String() string { for _, val := range uval.Values { strs = append(strs, ValueWrapper{val, valWrap.timezoneInfo}.String()) } - return fmt.Sprintf("[%s]", strings.Join(strs, ", ")) + return fmt.Sprintf("{%s}", strings.Join(strs, ", ")) } else if value.IsSetGgVal() { ggval := value.GetGgVal() return toWKT(ggval)