// Code generated by qtc from "helloworld.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line helloworld.qtpl:1 package templates //line helloworld.qtpl:1 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line helloworld.qtpl:1 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line helloworld.qtpl:2 type HelloPage struct { Body []byte } //line helloworld.qtpl:7 func (p *HelloPage) StreamTitle(qw422016 *qt422016.Writer) { //line helloworld.qtpl:7 qw422016.N().S(`Hello`) //line helloworld.qtpl:7 } //line helloworld.qtpl:7 func (p *HelloPage) WriteTitle(qq422016 qtio422016.Writer) { //line helloworld.qtpl:7 qw422016 := qt422016.AcquireWriter(qq422016) //line helloworld.qtpl:7 p.StreamTitle(qw422016) //line helloworld.qtpl:7 qt422016.ReleaseWriter(qw422016) //line helloworld.qtpl:7 } //line helloworld.qtpl:7 func (p *HelloPage) Title() string { //line helloworld.qtpl:7 qb422016 := qt422016.AcquireByteBuffer() //line helloworld.qtpl:7 p.WriteTitle(qb422016) //line helloworld.qtpl:7 qs422016 := string(qb422016.B) //line helloworld.qtpl:7 qt422016.ReleaseByteBuffer(qb422016) //line helloworld.qtpl:7 return qs422016 //line helloworld.qtpl:7 } //line helloworld.qtpl:9 func (p *HelloPage) StreamContent(qw422016 *qt422016.Writer) { //line helloworld.qtpl:9 qw422016.N().S(` `) //line helloworld.qtpl:10 qw422016.N().Z(p.Body) //line helloworld.qtpl:10 qw422016.N().S(` `) //line helloworld.qtpl:11 } //line helloworld.qtpl:11 func (p *HelloPage) WriteContent(qq422016 qtio422016.Writer) { //line helloworld.qtpl:11 qw422016 := qt422016.AcquireWriter(qq422016) //line helloworld.qtpl:11 p.StreamContent(qw422016) //line helloworld.qtpl:11 qt422016.ReleaseWriter(qw422016) //line helloworld.qtpl:11 } //line helloworld.qtpl:11 func (p *HelloPage) Content() string { //line helloworld.qtpl:11 qb422016 := qt422016.AcquireByteBuffer() //line helloworld.qtpl:11 p.WriteContent(qb422016) //line helloworld.qtpl:11 qs422016 := string(qb422016.B) //line helloworld.qtpl:11 qt422016.ReleaseByteBuffer(qb422016) //line helloworld.qtpl:11 return qs422016 //line helloworld.qtpl:11 } //line helloworld.qtpl:13 func (p *HelloPage) StreamScript(qw422016 *qt422016.Writer) { //line helloworld.qtpl:13 qw422016.N().S(` `) //line helloworld.qtpl:14 } //line helloworld.qtpl:14 func (p *HelloPage) WriteScript(qq422016 qtio422016.Writer) { //line helloworld.qtpl:14 qw422016 := qt422016.AcquireWriter(qq422016) //line helloworld.qtpl:14 p.StreamScript(qw422016) //line helloworld.qtpl:14 qt422016.ReleaseWriter(qw422016) //line helloworld.qtpl:14 } //line helloworld.qtpl:14 func (p *HelloPage) Script() string { //line helloworld.qtpl:14 qb422016 := qt422016.AcquireByteBuffer() //line helloworld.qtpl:14 p.WriteScript(qb422016) //line helloworld.qtpl:14 qs422016 := string(qb422016.B) //line helloworld.qtpl:14 qt422016.ReleaseByteBuffer(qb422016) //line helloworld.qtpl:14 return qs422016 //line helloworld.qtpl:14 }