MCPcopy Create free account
hub / github.com/maruel/panicparse / ToHTML

Method ToHTML

stack/html.go:24–31  ·  view source on GitHub ↗

ToHTML formats the aggregated buckets as HTML to the writer. Use footer to add custom HTML at the bottom of the page.

(w io.Writer, footer template.HTML)

Source from the content-addressed store, hash-verified

22//
23// Use footer to add custom HTML at the bottom of the page.
24func (a *Aggregated) ToHTML(w io.Writer, footer template.HTML) error {
25 data := map[string]interface{}{
26 "Aggregated": a,
27 "Footer": footer,
28 "Snapshot": a.Snapshot,
29 }
30 return toHTML(w, data)
31}
32
33// ToHTML formats the snapshot as HTML to the writer.
34//

Callers

nothing calls this directly

Calls 1

toHTMLFunction · 0.70

Tested by

no test coverage detected