From a7387dcf2235dfd9d9c6a9fb1fb017ed794d12ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Fri, 13 May 2022 13:12:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=F0=9F=91=8C=20make=20lint=20happy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/qqwife/qqmapwife.go | 2 +- plugin/saucenao/searcher.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/qqwife/qqmapwife.go b/plugin/qqwife/qqmapwife.go index 9190ac44..5ca2a87e 100644 --- a/plugin/qqwife/qqmapwife.go +++ b/plugin/qqwife/qqmapwife.go @@ -61,7 +61,7 @@ func (db *婚姻登记) 登记情况(gid int64, ctx *zero.Ctx) string { w.WriteString("群老公←———→群老婆\n-----------") for husband, wife := range mp { if husband > 0 { - w.WriteByte('\n') + _ = w.WriteByte('\n') w.WriteString(ctx.CardOrNickName(husband)) w.WriteString(" & ") w.WriteString(ctx.CardOrNickName(wife)) diff --git a/plugin/saucenao/searcher.go b/plugin/saucenao/searcher.go index 59eb309d..6ba350d3 100644 --- a/plugin/saucenao/searcher.go +++ b/plugin/saucenao/searcher.go @@ -129,7 +129,7 @@ func init() { // 插件主体 } }) resp, err := http.Head(result.Header.Thumbnail) - var msg message.Message = make(message.Message, 0, 3) + msg := make(message.Message, 0, 3) if s > 0.8 { msg = append(msg, message.Text("我有把握是这个!")) } else {