MCPcopy Create free account
hub / github.com/driangle/taskmd / writeSeparator

Method writeSeparator

apps/cli/internal/cli/tablewriter.go:85–91  ·  view source on GitHub ↗
(w io.Writer, widths []int)

Source from the content-addressed store, hash-verified

83}
84
85func (tw *TableWriter) writeSeparator(w io.Writer, widths []int) {
86 cells := make([]string, len(widths))
87 for i, width := range widths {
88 cells[i] = strings.Repeat("-", width)
89 }
90 fmt.Fprintln(w, strings.Join(cells, tw.gap))
91}
92
93func (tw *TableWriter) writeRow(w io.Writer, row tableRow, widths []int) {
94 cells := make([]string, len(widths))

Callers 1

FlushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected