MCPcopy Index your code
hub / github.com/github/git-sizer / generateHeader

Method generateHeader

sizes/output.go:424–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

422}
423
424func (t *table) generateHeader() string {
425 buf := &bytes.Buffer{}
426 fmt.Fprintln(buf, "| Name | Value | Level of concern |")
427 fmt.Fprintln(buf, "| ---------------------------- | --------- | ------------------------------ |")
428 return buf.String()
429}
430
431func (t *table) emitBlankRow() {
432 fmt.Fprintln(&t.buf, "| | | |")

Callers 1

TableStringMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected