From 1f22b771c3748b01d0d27574090fd2b6d4516182 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 23 Sep 2025 11:38:44 -0500 Subject: something good about this --- doList.go | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'doList.go') diff --git a/doList.go b/doList.go index 149ecc0..a7b2a17 100644 --- a/doList.go +++ b/doList.go @@ -6,15 +6,20 @@ import ( ) func doList() error { - log.Info("do list here") - // show all the patchsets with Names + log.Infof("do list here. Patchsets.Len()=%d\n", me.forge.Patchsets.Len()) for pset := range me.forge.Patchsets.IterAll() { - log.Info("Info", pset.Name, pset.Uuid) - for i, patch := range pset.Patches.Patches { - log.Info("\t", i, patch.CommitHash, patch.Namespace) - } + pset.PrintTable() } + /* + // show all the patchsets with Names + for pset := range me.forge.Patchsets.IterAll() { + log.Info("Info", pset.Name, pset.Uuid) + for i, patch := range pset.Patches.Patches { + log.Info("\t", i, patch.CommitHash, patch.Namespace) + } + } + */ return nil } -- cgit v1.2.3