blob: 914c4af403c85f56346724a53eec22b19e76019d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
package forgepb
import (
"go.wit.com/log"
)
// returns footer
func (pb *ForgeConfigs) PrintTable() string {
if pb == nil {
return "pb was nil"
}
tablePB := pb.MakeTable()
tablePB.PrintTable()
return log.Sprintf("forge Configs DefaultTable: %d entries", pb.Len())
}
func (pb *ForgeConfigs) MakeTable() *ForgeConfigsTable {
t := pb.NewTable("tagList")
t.NewUuid()
col := t.AddNamespace()
col.Width = 28
return t
}
|