summaryrefslogtreecommitdiff
path: root/tableStats.go
diff options
context:
space:
mode:
Diffstat (limited to 'tableStats.go')
-rw-r--r--tableStats.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/tableStats.go b/tableStats.go
index 0a278e0..3bd209a 100644
--- a/tableStats.go
+++ b/tableStats.go
@@ -33,21 +33,21 @@ func (pb *Stats) MakeTable(name string) *StatsTable {
col.Width = 10
col = t.AddHash()
- col.Width = 10
+ col.Width = 20
col.Header.Name = "Git Hash"
- col = t.AddStringFunc("something", func(r *Stat) string {
- return "notsure"
- })
- col.Width = 9
-
col = t.AddStringFunc("age", func(r *Stat) string {
return cobol.Time(r.Ctime)
})
col.Width = 28
- col = t.AddSubject()
- col.Width = -1
+ col = t.AddStringFunc("Name", func(r *Stat) string {
+ return "todo from []slice"
+ })
+ col.Width = 20
+
+ // col = t.AddSubject()
+ // col.Width = -1
return t
}