From b5ed390f1b8b63d5568f9f2d044a362e82344e80 Mon Sep 17 00:00:00 2001 From: demo Date: Fri, 29 May 2026 11:29:09 -0400 Subject: fix: convert byte-formatted numbers into ordinary uint64 --- cmds.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmds.go b/cmds.go index 241897c..233a08f 100644 --- a/cmds.go +++ b/cmds.go @@ -70,7 +70,9 @@ func (ctrl controller) cmdList() error { b := tx.Bucket([]byte(ctrl.tasksBucketName)) b.ForEach(func(k, v []byte) error { - fmt.Printf("%s. %s\n", k, v) + index := binary.BigEndian.Uint64(k) + + fmt.Printf("%d. %s\n", index, v) return nil }) -- cgit v1.2.3