From 648924a21e8cff98005f9cb13fe555cab963aa74 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Thu, 13 Jul 2023 11:11:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E6=96=B0=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E7=A1=AE=E8=8E=B7=E5=8F=96=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC=E5=8F=B7=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b8cda5c..db8bef8 100644 --- a/main.go +++ b/main.go @@ -122,5 +122,5 @@ func getLatestVersion() (version string) { glog.Warning(context.TODO(), "解析response失败,原因:", err.Error()) return "" } - return githubResJson.Get("data.github_res.assets.tag_name").String() + return githubResJson.Get("data.github_res.tag_name").String() }