We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683ad0d commit 43a8a18Copy full SHA for 43a8a18
sizes/output.go
@@ -119,7 +119,7 @@ func (s *section) Emit(t *table, buf io.Writer, indent int) {
119
// own header, but prints the table header:
120
fmt.Fprint(buf, t.generateHeader())
121
} else {
122
- t.formatRow(buf, indent, s.name, "", "", "", "")
+ t.formatSectionHeader(buf, indent, s.name)
123
}
124
125
fmt.Fprint(buf, linesBuf.String())
@@ -425,6 +425,10 @@ func (t *table) emitBlankRow(buf io.Writer) {
425
t.formatRow(buf, 0, "", "", "", "", "")
426
427
428
+func (t *table) formatSectionHeader(buf io.Writer, indent int, name string) {
429
+ t.formatRow(buf, indent, name, "", "", "", "")
430
+}
431
+
432
func (t *table) formatRow(
433
buf io.Writer, indent int,
434
name, citation, valueString, unitString, levelOfConcern string,
0 commit comments