fixed bug for chat context not work for chating with image

This commit is contained in:
RockYang
2024-11-12 18:23:27 +08:00
parent cff0397735
commit 6aaf607ed7
5 changed files with 18 additions and 21 deletions

View File

@@ -16,7 +16,7 @@ type MKey interface {
string | int | uint
}
type MValue interface {
*WsClient | *ChatSession | context.CancelFunc | []Message
*WsClient | *ChatSession | context.CancelFunc | []interface{}
}
type LMap[K MKey, T MValue] struct {
lock sync.RWMutex