add context.Context with message struct
This commit is contained in:
parent
e3639eb1f3
commit
c50194ff84
@ -1,6 +1,7 @@
|
|||||||
package openwechat
|
package openwechat
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
@ -44,6 +45,7 @@ type Message struct {
|
|||||||
senderInGroupUserName string
|
senderInGroupUserName string
|
||||||
mu sync.RWMutex
|
mu sync.RWMutex
|
||||||
item map[string]interface{}
|
item map[string]interface{}
|
||||||
|
Context context.Context
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取消息的发送者
|
// 获取消息的发送者
|
||||||
|
Loading…
x
Reference in New Issue
Block a user