MCPcopy
hub / github.com/valyala/quicktemplate / streamembeddedFunc

Function streamembeddedFunc

testdata/templates/integration.qtpl.go:659–674  ·  view source on GitHub ↗

line testdata/templates/integration.qtpl:123

(qw422016 *qt422016.Writer, p Page)

Source from the content-addressed store, hash-verified

657
658//line testdata/templates/integration.qtpl:123
659func streamembeddedFunc(qw422016 *qt422016.Writer, p Page) {
660//line testdata/templates/integration.qtpl:123
661 qw422016.N().S(`
662 Page's header: `)
663//line testdata/templates/integration.qtpl:124
664 p.StreamHeader(qw422016)
665//line testdata/templates/integration.qtpl:124
666 qw422016.N().S(`
667 Body: `)
668//line testdata/templates/integration.qtpl:125
669 qw422016.N().S(fmt.Sprintf("<b>%s</b>", p.Body()))
670//line testdata/templates/integration.qtpl:125
671 qw422016.N().S(`
672`)
673//line testdata/templates/integration.qtpl:126
674}
675
676//line testdata/templates/integration.qtpl:126
677func writeembeddedFunc(qq422016 qtio422016.Writer, p Page) {

Callers 2

StreamIntegrationFunction · 0.85
writeembeddedFuncFunction · 0.85

Calls 4

SMethod · 0.80
NMethod · 0.80
StreamHeaderMethod · 0.65
BodyMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…