mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 06:20:08 +08:00
💩👌 make lint happy
This commit is contained in:
parent
c524c68809
commit
fabf62059e
@ -35,9 +35,9 @@ type imgpool struct {
|
|||||||
pool map[string][]*pixiv.Illust
|
pool map[string][]*pixiv.Illust
|
||||||
}
|
}
|
||||||
|
|
||||||
func (i *imgpool) list() (l []string) {
|
func (p *imgpool) list() (l []string) {
|
||||||
var err error
|
var err error
|
||||||
l, err = i.db.ListTables()
|
l, err = p.db.ListTables()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
l = []string{"涩图", "二次元", "风景", "车万"}
|
l = []string{"涩图", "二次元", "风景", "车万"}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user