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:
parent
2350d04f0f
commit
db779982d2
@ -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 {
|
Loading…
x
Reference in New Issue
Block a user