chore(lint): 改进代码样式 (#1192)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-09-02 13:13:22 +08:00
committed by GitHub
parent cd16a755d7
commit 35292a69fc
4 changed files with 27 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ import (
"github.com/wdvxdr1123/ZeroBot/message"
)
//hou
// hou
func houEncryptHandler(ctx *zero.Ctx) {
text := ctx.State["regex_matched"].([]string)[1]
result := encodeHou(text)
@@ -19,7 +19,7 @@ func houDecryptHandler(ctx *zero.Ctx) {
ctx.SendChain(message.Text(result))
}
//fumo
// fumo
func fumoEncryptHandler(ctx *zero.Ctx) {
text := ctx.State["regex_matched"].([]string)[1]
result := encryptFumo(text)
@@ -30,4 +30,4 @@ func fumoDecryptHandler(ctx *zero.Ctx) {
text := ctx.State["regex_matched"].([]string)[1]
result := decryptFumo(text)
ctx.SendChain(message.Text(result))
}
}