MCPcopy
hub / github.com/pterm/pterm / Render

Method Render

barchart.go:419–424  ·  view source on GitHub ↗

Render prints the Template to the terminal.

()

Source from the content-addressed store, hash-verified

417
418// Render prints the Template to the terminal.
419func (p BarChartPrinter) Render() error {
420 s, _ := p.Srender()
421 Fprintln(p.Writer, s)
422
423 return nil
424}

Callers 1

Calls 2

SrenderMethod · 0.95
FprintlnFunction · 0.85

Tested by 1