From 73c4f3632d50fcbd80258430566c1b84fd0fea68 Mon Sep 17 00:00:00 2001 From: "binbin.zhang" Date: Wed, 15 Mar 2023 19:09:33 +0800 Subject: [PATCH] update version (#589) --- common/constant/const.go | 2 +- util/content.go | 4 ++-- vo/client_param.go | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/constant/const.go b/common/constant/const.go index f5e92fcc..936ce3c7 100644 --- a/common/constant/const.go +++ b/common/constant/const.go @@ -68,7 +68,7 @@ const ( KEY_BEAT = "beat" KEY_DOM = "dom" DEFAULT_CONTEXT_PATH = "/nacos" - CLIENT_VERSION = "Nacos-Go-Client:v2.1.3" + CLIENT_VERSION = "Nacos-Go-Client:v2.2.0" REQUEST_DOMAIN_RETRY_TIME = 3 SERVICE_INFO_SPLITER = "@@" CONFIG_INFO_SPLITER = "@@" diff --git a/util/content.go b/util/content.go index 906e2f2c..26fd7264 100644 --- a/util/content.go +++ b/util/content.go @@ -1,5 +1,3 @@ -package util - /* * Copyright 1999-2020 Alibaba Group Holding Ltd. * @@ -16,6 +14,8 @@ package util * limitations under the License. */ +package util + const SHOW_CONTENT_SIZE = 100 func TruncateContent(content string) string { diff --git a/vo/client_param.go b/vo/client_param.go index f48a5b75..e91781dc 100644 --- a/vo/client_param.go +++ b/vo/client_param.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package vo import "github.com/nacos-group/nacos-sdk-go/v2/common/constant"