mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
style: rename package protocol to internal
This commit is contained in:
parent
2350d04f0f
commit
db779982d2
@ -96,7 +96,7 @@ func (e *EncryptECDH) FetchPubKey(uin int64) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
defer func() { _ = resp.Body.Close() }()
|
||||
pubKey := pubKeyResp{}
|
||||
err = json.NewDecoder(resp.Body).Decode(&pubKey)
|
||||
if err != nil {
|
Loading…
x
Reference in New Issue
Block a user