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自我更新