Skip to content

Commit c23611b

Browse files
chore(lint): 改进代码样式
1 parent 7dc844c commit c23611b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

plugin/chatcount/chatcount.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,4 @@ func init() {
6161
}
6262
ctx.SendChain(message.Text(text.String()))
6363
})
64-
6564
}

plugin/chatcount/model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (ctdb *chattimedb) updateChatTime(gid, uid int64) (remindTime int64, remind
9898
lastTime := time.Unix(ts, 0)
9999
todayTime, _ := ctdb.userTodayTimeMap.Load(keyword)
100100
totayMessage, _ := ctdb.userTodayMessageMap.Load(keyword)
101-
//这个消息数是必须统计的
101+
// 这个消息数是必须统计的
102102
ctdb.userTodayMessageMap.Store(keyword, totayMessage+1)
103103
st := chatTime{
104104
GroupID: gid,

0 commit comments

Comments
 (0)