From 21a8a8be7b558bab12440abd988643b908eef86a Mon Sep 17 00:00:00 2001 From: lehaoqi Date: Thu, 28 Dec 2023 22:15:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96imports?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/http.go | 3 ++- wechat.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/util/http.go b/util/http.go index 26e4a7b..f074769 100644 --- a/util/http.go +++ b/util/http.go @@ -7,13 +7,14 @@ import ( "encoding/json" "encoding/pem" "encoding/xml" - "fmt" "io" "log" "mime/multipart" "net/http" "os" + "fmt" + "golang.org/x/crypto/pkcs12" ) diff --git a/wechat.go b/wechat.go index 017ae1e..3e3b825 100644 --- a/wechat.go +++ b/wechat.go @@ -1,10 +1,11 @@ package wechat import ( - "github.com/silenceper/wechat/v2/util" "net/http" "os" + "github.com/silenceper/wechat/v2/util" + log "github.com/sirupsen/logrus" "github.com/silenceper/wechat/v2/cache"