MCPcopy Create free account
hub / github.com/deepflowio/deepflow / New

Function New

cli/ctl/common/table/table.go:39–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39func New() *Table {
40 return &Table{
41 // Show headers when using os.Stderr for grep
42 headerOut: os.Stderr,
43 lineOut: os.Stdout,
44 headers: []string{},
45 lines: [][]string{},
46 maxWidth: make(map[int]int),
47 colSize: -1,
48 }
49}
50
51const indent = 2
52

Callers 2

ExampleShortFunction · 0.70
ExampleChineseFunction · 0.70

Calls

no outgoing calls

Tested by 2

ExampleShortFunction · 0.56
ExampleChineseFunction · 0.56