diff options
| author | Jeff Carr <[email protected]> | 2025-09-23 11:38:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-23 14:50:19 -0500 |
| commit | 1f22b771c3748b01d0d27574090fd2b6d4516182 (patch) | |
| tree | e223e9a4b54fb1af247333bf5d33bc85826af08f /doList.go | |
| parent | ada923ea054a7f3a1721e2e87a658893d55e6226 (diff) | |
something good about this
Diffstat (limited to 'doList.go')
| -rw-r--r-- | doList.go | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -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 } |
