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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-10-21 00:12:03 +09:00 committed by GitHub
parent 4b0a2a12a8
commit 814fa0ce33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -2,12 +2,13 @@ package niuniu
import ( import (
"fmt" "fmt"
"image"
"net/http"
"github.com/FloatTech/floatbox/file" "github.com/FloatTech/floatbox/file"
"github.com/FloatTech/rendercard" "github.com/FloatTech/rendercard"
"github.com/FloatTech/zbputils/control" "github.com/FloatTech/zbputils/control"
"github.com/FloatTech/zbputils/img/text" "github.com/FloatTech/zbputils/img/text"
"image"
"net/http"
) )
type drawUserRanking struct { type drawUserRanking struct {

View File

@ -214,7 +214,6 @@ func init() {
return return
} }
ctx.SendChain(message.ImageBytes(buf)) ctx.SendChain(message.ImageBytes(buf))
}) })
en.OnFullMatch("牛子深度排行", zero.OnlyGroup, getdb).SetBlock(true).Handle(func(ctx *zero.Ctx) { en.OnFullMatch("牛子深度排行", zero.OnlyGroup, getdb).SetBlock(true).Handle(func(ctx *zero.Ctx) {
gid := ctx.Event.GroupID gid := ctx.Event.GroupID