mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
make lint happy
This commit is contained in:
parent
8c695c96d7
commit
7bce7f28dc
@ -36,7 +36,7 @@ func getitemsorder(cnName string, onlyMaxRank bool) (od orders, it *itemsInSet,
|
||||
return
|
||||
}
|
||||
err = json.Unmarshal(data, &wfapiio)
|
||||
if len(wfapiio.Payload.Orders) <= 0 {
|
||||
if len(wfapiio.Payload.Orders) == 0 {
|
||||
err = errors.New("no such name")
|
||||
}
|
||||
od = make(orders, 0, len(wfapiio.Payload.Orders))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user