From 01a06d1132d4482699de62c7e82a114946441f99 Mon Sep 17 00:00:00 2001 From: jievince <38901892+jievince@users.noreply.github.com> Date: Thu, 11 Nov 2021 14:59:43 +0800 Subject: [PATCH] fix toString of set --- 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)