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

Function StreamIntegration

testdata/templates/integration.qtpl.go:28–613  ·  view source on GitHub ↗

line testdata/templates/integration.qtpl:6

(qw422016 *qt422016.Writer)

Source from the content-addressed store, hash-verified

26
27//line testdata/templates/integration.qtpl:6
28func StreamIntegration(qw422016 *qt422016.Writer) {
29//line testdata/templates/integration.qtpl:6
30 qw422016.N().S(`
31 Output tags`)
32//line testdata/templates/integration.qtpl:6
33 qw422016.N().S("`")
34//line testdata/templates/integration.qtpl:6
35 qw422016.N().S(` verification.
36
37 `)
38//line testdata/templates/integration.qtpl:10
39 p := &integrationPage{
40 S: "foobar",
41 }
42
43//line testdata/templates/integration.qtpl:13
44 qw422016.N().S(`
45 Embedded func template:
46 plain: `)
47//line testdata/templates/integration.qtpl:15
48 streamembeddedFunc(qw422016, p)
49//line testdata/templates/integration.qtpl:15
50 qw422016.N().S(`
51 html-escaped: `)
52//line testdata/templates/integration.qtpl:16
53 {
54//line testdata/templates/integration.qtpl:16
55 qb422016 := qt422016.AcquireByteBuffer()
56//line testdata/templates/integration.qtpl:16
57 writeembeddedFunc(qb422016, p)
58//line testdata/templates/integration.qtpl:16
59 qw422016.E().Z(qb422016.B)
60//line testdata/templates/integration.qtpl:16
61 qt422016.ReleaseByteBuffer(qb422016)
62//line testdata/templates/integration.qtpl:16
63 }
64//line testdata/templates/integration.qtpl:16
65 qw422016.N().S(`
66 url-escaped: `)
67//line testdata/templates/integration.qtpl:17
68 {
69//line testdata/templates/integration.qtpl:17
70 qb422016 := qt422016.AcquireByteBuffer()
71//line testdata/templates/integration.qtpl:17
72 writeembeddedFunc(qb422016, p)
73//line testdata/templates/integration.qtpl:17
74 qw422016.N().UZ(qb422016.B)
75//line testdata/templates/integration.qtpl:17
76 qt422016.ReleaseByteBuffer(qb422016)
77//line testdata/templates/integration.qtpl:17
78 }
79//line testdata/templates/integration.qtpl:17
80 qw422016.N().S(`
81 quoted json string: `)
82//line testdata/templates/integration.qtpl:18
83 {
84//line testdata/templates/integration.qtpl:18
85 qb422016 := qt422016.AcquireByteBuffer()

Callers 1

WriteIntegrationFunction · 0.85

Calls 15

streamembeddedFuncFunction · 0.85
writeembeddedFuncFunction · 0.85
SMethod · 0.80
NMethod · 0.80
ZMethod · 0.80
EMethod · 0.80
UZMethod · 0.80
QZMethod · 0.80
JZMethod · 0.80
DMethod · 0.80
FMethod · 0.80
QMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…