From fabf62059e856985a6ea756614350a2fb36a36f6 Mon Sep 17 00:00:00 2001 From: fumiama Date: Fri, 28 Jan 2022 19:59:31 +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_setutime/setu_geter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_setutime/setu_geter.go b/plugin_setutime/setu_geter.go index 5f89e02c..9b3269d5 100644 --- a/plugin_setutime/setu_geter.go +++ b/plugin_setutime/setu_geter.go @@ -35,9 +35,9 @@ type imgpool struct { pool map[string][]*pixiv.Illust } -func (i *imgpool) list() (l []string) { +func (p *imgpool) list() (l []string) { var err error - l, err = i.db.ListTables() + l, err = p.db.ListTables() if err != nil { l = []string{"涩图", "二次元", "风景", "车万"} }