1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

style: rename package protocol to internal

This commit is contained in:
Mrs4s 2021-11-02 02:45:26 +08:00
parent 2350d04f0f
commit db779982d2
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -96,7 +96,7 @@ func (e *EncryptECDH) FetchPubKey(uin int64) {
if err != nil { if err != nil {
return return
} }
defer resp.Body.Close() defer func() { _ = resp.Body.Close() }()
pubKey := pubKeyResp{} pubKey := pubKeyResp{}
err = json.NewDecoder(resp.Body).Decode(&pubKey) err = json.NewDecoder(resp.Body).Decode(&pubKey)
if err != nil { if err != nil {