aboutsummaryrefslogtreecommitdiff
path: root/templates/helloworld.qtpl.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates/helloworld.qtpl.go')
-rw-r--r--templates/helloworld.qtpl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/helloworld.qtpl.go b/templates/helloworld.qtpl.go
index 61c8f75..7e37f3b 100644
--- a/templates/helloworld.qtpl.go
+++ b/templates/helloworld.qtpl.go
@@ -19,7 +19,7 @@ var (
//line helloworld.qtpl:2
type HelloPage struct {
- Body string
+ Body []byte
}
//line helloworld.qtpl:7
@@ -61,7 +61,7 @@ func (p *HelloPage) StreamContent(qw422016 *qt422016.Writer) {
qw422016.N().S(`
`)
//line helloworld.qtpl:10
- qw422016.N().S(p.Body)
+ qw422016.N().Z(p.Body)
//line helloworld.qtpl:10
qw422016.N().S(`
`)