1// Code generated by qtc from "helloworld.qtpl". DO NOT EDIT.
2// See https://github.com/valyala/quicktemplate for details.
3
4//line helloworld.qtpl:1
5package templates
6
7//line helloworld.qtpl:1
8import (
9 qtio422016 "io"
10
11 qt422016 "github.com/valyala/quicktemplate"
12)
13
14//line helloworld.qtpl:1
15var (
16 _ = qtio422016.Copy
17 _ = qt422016.AcquireByteBuffer
18)
19
20//line helloworld.qtpl:2
21type HelloPage struct {
22 Body string
23}
24
25//line helloworld.qtpl:7
26func (p *HelloPage) StreamTitle(qw422016 *qt422016.Writer) {
27//line helloworld.qtpl:7
28 qw422016.N().S(`Hello`)
29//line helloworld.qtpl:7
30}
31
32//line helloworld.qtpl:7
33func (p *HelloPage) WriteTitle(qq422016 qtio422016.Writer) {
34//line helloworld.qtpl:7
35 qw422016 := qt422016.AcquireWriter(qq422016)
36//line helloworld.qtpl:7
37 p.StreamTitle(qw422016)
38//line helloworld.qtpl:7
39 qt422016.ReleaseWriter(qw422016)
40//line helloworld.qtpl:7
41}
42
43//line helloworld.qtpl:7
44func (p *HelloPage) Title() string {
45//line helloworld.qtpl:7
46 qb422016 := qt422016.AcquireByteBuffer()
47//line helloworld.qtpl:7
48 p.WriteTitle(qb422016)
49//line helloworld.qtpl:7
50 qs422016 := string(qb422016.B)
51//line helloworld.qtpl:7
52 qt422016.ReleaseByteBuffer(qb422016)
53//line helloworld.qtpl:7
54 return qs422016
55//line helloworld.qtpl:7
56}
57
58//line helloworld.qtpl:9
59func (p *HelloPage) StreamContent(qw422016 *qt422016.Writer) {
60//line helloworld.qtpl:9
61 qw422016.N().S(`
62HelloWorld
63
64`)
65//line helloworld.qtpl:12
66 qw422016.E().S(p.Body)
67//line helloworld.qtpl:12
68 qw422016.N().S(`
69`)
70//line helloworld.qtpl:13
71}
72
73//line helloworld.qtpl:13
74func (p *HelloPage) WriteContent(qq422016 qtio422016.Writer) {
75//line helloworld.qtpl:13
76 qw422016 := qt422016.AcquireWriter(qq422016)
77//line helloworld.qtpl:13
78 p.StreamContent(qw422016)
79//line helloworld.qtpl:13
80 qt422016.ReleaseWriter(qw422016)
81//line helloworld.qtpl:13
82}
83
84//line helloworld.qtpl:13
85func (p *HelloPage) Content() string {
86//line helloworld.qtpl:13
87 qb422016 := qt422016.AcquireByteBuffer()
88//line helloworld.qtpl:13
89 p.WriteContent(qb422016)
90//line helloworld.qtpl:13
91 qs422016 := string(qb422016.B)
92//line helloworld.qtpl:13
93 qt422016.ReleaseByteBuffer(qb422016)
94//line helloworld.qtpl:13
95 return qs422016
96//line helloworld.qtpl:13
97}
98
99//line helloworld.qtpl:15
100func (p *HelloPage) StreamScript(qw422016 *qt422016.Writer) {
101//line helloworld.qtpl:15
102 qw422016.N().S(`
103`)
104//line helloworld.qtpl:16
105}
106
107//line helloworld.qtpl:16
108func (p *HelloPage) WriteScript(qq422016 qtio422016.Writer) {
109//line helloworld.qtpl:16
110 qw422016 := qt422016.AcquireWriter(qq422016)
111//line helloworld.qtpl:16
112 p.StreamScript(qw422016)
113//line helloworld.qtpl:16
114 qt422016.ReleaseWriter(qw422016)
115//line helloworld.qtpl:16
116}
117
118//line helloworld.qtpl:16
119func (p *HelloPage) Script() string {
120//line helloworld.qtpl:16
121 qb422016 := qt422016.AcquireByteBuffer()
122//line helloworld.qtpl:16
123 p.WriteScript(qb422016)
124//line helloworld.qtpl:16
125 qs422016 := string(qb422016.B)
126//line helloworld.qtpl:16
127 qt422016.ReleaseByteBuffer(qb422016)
128//line helloworld.qtpl:16
129 return qs422016
130//line helloworld.qtpl:16
131}