Compare commits
No commits in common. "221db4e998ce4b5bcda91e6f99ec3aec18f28fbb" and "7aa44caea27c8e45f5ac2a02e20c123430ccf0fa" have entirely different histories.
221db4e998
...
7aa44caea2
@ -281,12 +281,7 @@ func (h *Handlers) GetVoucherList(ctx context.Context,sym string,input []byte) (
|
|||||||
"VSGAQ",
|
"VSGAQ",
|
||||||
"QPWIQQ",
|
"QPWIQQ",
|
||||||
}
|
}
|
||||||
|
res.Content = strings.Join(vouchers,"\n")
|
||||||
var numberedVouchers []string
|
|
||||||
for i, voucher := range vouchers {
|
|
||||||
numberedVouchers = append(numberedVouchers, fmt.Sprintf("%d:%s", i+1, voucher))
|
|
||||||
}
|
|
||||||
res.Content = strings.Join(numberedVouchers,"\n")
|
|
||||||
|
|
||||||
return res,nil
|
return res,nil
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
LOAD get_vouchers 0
|
LOAD get_vouchers 0
|
||||||
MAP get_vouchers
|
MAP get_vouchers
|
||||||
MOUT back 0
|
|
||||||
MOUT quit 9
|
|
||||||
MNEXT next 11
|
MNEXT next 11
|
||||||
MPREV prev 22
|
MPREV back 22
|
||||||
HALT
|
HALT
|
||||||
INCMP _ 0
|
|
||||||
INCMP quit 9
|
|
||||||
INCMP > 11
|
INCMP > 11
|
||||||
INCMP < 22
|
INCMP < 22
|
||||||
|
INCMP _*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user