init: 初始化仓库

This commit is contained in:
lixiangwuxian
2024-10-08 01:34:26 +08:00
commit 4d6c22ff7b
24 changed files with 1311 additions and 0 deletions

21
model/message.go Normal file
View File

@@ -0,0 +1,21 @@
package model
type Message struct {
UserId int64 `json:"userId"`
GroupInfo GroupInfo `json:"groupInfo"`
OriginMsgId int32 `json:"originMsgId"`
Msg string `json:"msg"`
UserNickName string `json:"userNickName"`
}
type GroupInfo struct {
IsGroupMsg bool `json:"isGroupMsg"`
GroupId int64 `json:"groupId"`
UserCard string `json:"userCard"`
}
type Reply struct {
ReplyMsg string `json:"replyMsg"`
ReferOriginMsg bool `json:"referOriginMsg"`
FromMsg Message `json:"fromMsg"`
}