Skip to content

Commit e089120

Browse files
chore(lint): 改进代码样式 (#891)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b050b5d commit e089120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/ai_reply/ai_tts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func (t *ttsmode) setSoundMode(ctx *zero.Ctx, name string, character int) error
187187
}
188188
}
189189
m := ctx.State["manager"].(*ctrl.Control[*zero.Ctx])
190-
//按原来的逻辑map存的是前16位
190+
// 按原来的逻辑map存的是前16位
191191
storeIndex := (m.GetData(gid) &^ 0xffff00) | ((index << 8) & 0xff00) | ((int64(character) << 16) & 0xff0000)
192192
(*syncx.Map[int64, int64])(t).Store(gid, (storeIndex>>8)&0xffff)
193193
return m.SetData(gid, storeIndex)

0 commit comments

Comments
 (0)