diff options
| author | Jeff Carr <[email protected]> | 2025-10-11 08:55:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-11 09:27:10 -0500 |
| commit | e3046f7e431fc1c6ced4054517aa247298ab5f78 (patch) | |
| tree | d3c7fbf86f71cf2181cb0c9663fe264b3a423fee /tablePackages.go | |
| parent | 7d7672b57332f3f440dc7febe5a88dd0bce88344 (diff) | |
show age. thanks cobol library
Diffstat (limited to 'tablePackages.go')
| -rw-r--r-- | tablePackages.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tablePackages.go b/tablePackages.go index c4ec53c..d317331 100644 --- a/tablePackages.go +++ b/tablePackages.go @@ -3,6 +3,7 @@ package zoopb import ( + "go.wit.com/lib/cobol" "go.wit.com/log" ) @@ -38,6 +39,11 @@ func (pb *Packages) MakeDefaultTable() *PackagesTable { }) col.Width = 6 + col = t.AddStringFunc("age", func(p *Package) string { + return cobol.Since(p.Ctime) + }) + col.Width = 5 + col = t.AddArchitecture() col.Width = 8 |
