MCPcopy Create free account
hub / github.com/cloudfoundry/cli / SetTransformer

Method SetTransformer

cf/terminal/table.go:61–63  ·  view source on GitHub ↗

SetTransformer specifies a string transformer to apply to the content of the given column in the specified table.

(columnIndex int, tr Transformer)

Source from the content-addressed store, hash-verified

59// SetTransformer specifies a string transformer to apply to the
60// content of the given column in the specified table.
61func (t *Table) SetTransformer(columnIndex int, tr Transformer) {
62 t.transformer[columnIndex] = tr
63}
64
65// Add extends the table by another row.
66func (t *Table) Add(row ...string) {

Callers 1

table_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected