From 90efd5ae460e43e0d67b258768cdc5a72995fa49 Mon Sep 17 00:00:00 2001 From: johlanse Date: Thu, 22 Sep 2022 20:22:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80=E4=BA=86=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=EF=BC=8C=E5=AE=8C=E5=96=84=E4=BA=86=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 1 + utils/update/update_other.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/go.mod b/go.mod index 9df76d9..55aed83 100644 --- a/go.mod +++ b/go.mod @@ -15,6 +15,7 @@ require ( github.com/imroc/req/v3 v3.8.2 github.com/johlanse/wechat v0.0.0-20220909140933-49a96a4c0412 github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 + github.com/klauspost/compress v1.15.10 github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible github.com/mitchellh/mapstructure v1.5.0 github.com/playwright-community/playwright-go v0.2000.1 diff --git a/utils/update/update_other.go b/utils/update/update_other.go index e513683..11e36e8 100644 --- a/utils/update/update_other.go +++ b/utils/update/update_other.go @@ -10,6 +10,8 @@ import ( "errors" "io" "net/http" + + "github.com/klauspost/compress/gzip" ) // update study_xxqg自我更新