Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/go-gh
/ Render
Method
Render
pkg/tableprinter/table.go:20–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
AddField(string, ...fieldOption)
19
EndRow()
20
Render() error
21
}
22
23
// WithTruncate overrides the truncation function for the field. The function should transform a string
Callers
10
ExampleTablePrinter
Function · 0.65
Render
Function · 0.65
ExampleTablePrinter
Function · 0.65
Test_ttyTablePrinter_autoTruncate
Function · 0.65
Test_ttyTablePrinter_WithTruncate
Function · 0.65
Test_ttyTablePrinter_AddHeader
Function · 0.65
Test_ttyTablePrinter_WithPadding
Function · 0.65
Test_tsvTablePrinter
Function · 0.65
Test_tsvTablePrinter_AddHeader
Function · 0.65
tableRenderFunc
Function · 0.65
Implementers
2
ttyTablePrinter
pkg/tableprinter/table.go
tsvTablePrinter
pkg/tableprinter/table.go
Calls
no outgoing calls
Tested by
8
ExampleTablePrinter
Function · 0.52
ExampleTablePrinter
Function · 0.52
Test_ttyTablePrinter_autoTruncate
Function · 0.52
Test_ttyTablePrinter_WithTruncate
Function · 0.52
Test_ttyTablePrinter_AddHeader
Function · 0.52
Test_ttyTablePrinter_WithPadding
Function · 0.52
Test_tsvTablePrinter
Function · 0.52
Test_tsvTablePrinter_AddHeader
Function · 0.52