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 []byte
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(`
62`)
63//line helloworld.qtpl:10
64 qw422016.N().Z(p.Body)
65//line helloworld.qtpl:10
66 qw422016.N().S(`
67`)
68//line helloworld.qtpl:11
69}
70
71//line helloworld.qtpl:11
72func (p *HelloPage) WriteContent(qq422016 qtio422016.Writer) {
73//line helloworld.qtpl:11
74 qw422016 := qt422016.AcquireWriter(qq422016)
75//line helloworld.qtpl:11
76 p.StreamContent(qw422016)
77//line helloworld.qtpl:11
78 qt422016.ReleaseWriter(qw422016)
79//line helloworld.qtpl:11
80}
81
82//line helloworld.qtpl:11
83func (p *HelloPage) Content() string {
84//line helloworld.qtpl:11
85 qb422016 := qt422016.AcquireByteBuffer()
86//line helloworld.qtpl:11
87 p.WriteContent(qb422016)
88//line helloworld.qtpl:11
89 qs422016 := string(qb422016.B)
90//line helloworld.qtpl:11
91 qt422016.ReleaseByteBuffer(qb422016)
92//line helloworld.qtpl:11
93 return qs422016
94//line helloworld.qtpl:11
95}
96
97//line helloworld.qtpl:13
98func (p *HelloPage) StreamScript(qw422016 *qt422016.Writer) {
99//line helloworld.qtpl:13
100 qw422016.N().S(`
101`)
102//line helloworld.qtpl:14
103}
104
105//line helloworld.qtpl:14
106func (p *HelloPage) WriteScript(qq422016 qtio422016.Writer) {
107//line helloworld.qtpl:14
108 qw422016 := qt422016.AcquireWriter(qq422016)
109//line helloworld.qtpl:14
110 p.StreamScript(qw422016)
111//line helloworld.qtpl:14
112 qt422016.ReleaseWriter(qw422016)
113//line helloworld.qtpl:14
114}
115
116//line helloworld.qtpl:14
117func (p *HelloPage) Script() string {
118//line helloworld.qtpl:14
119 qb422016 := qt422016.AcquireByteBuffer()
120//line helloworld.qtpl:14
121 p.WriteScript(qb422016)
122//line helloworld.qtpl:14
123 qs422016 := string(qb422016.B)
124//line helloworld.qtpl:14
125 qt422016.ReleaseByteBuffer(qb422016)
126//line helloworld.qtpl:14
127 return qs422016
128//line helloworld.qtpl:14
129}