Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/go-gh
/ AddField
Method
AddField
pkg/tableprinter/table.go:18–18 ·
view source on GitHub ↗
(string, ...fieldOption)
Source
from the content-addressed store, hash-verified
16
type
TablePrinter
interface
{
17
AddHeader([]string, ...fieldOption)
18
AddField(string, ...fieldOption)
19
EndRow()
20
Render() error
21
}
Callers
9
ExampleTablePrinter
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
tableRowFunc
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