cerrado @ v0.0.14

 1// Code generated by qtc from "gititemabout.qtpl". DO NOT EDIT.
 2// See https://github.com/valyala/quicktemplate for details.
 3
 4//line gititemabout.qtpl:1
 5package templates
 6
 7//line gititemabout.qtpl:1
 8import (
 9	qtio422016 "io"
10
11	qt422016 "github.com/valyala/quicktemplate"
12)
13
14//line gititemabout.qtpl:1
15var (
16	_ = qtio422016.Copy
17	_ = qt422016.AcquireByteBuffer
18)
19
20//line gititemabout.qtpl:2
21type GitItemAboutPage struct {
22	About []byte
23}
24
25//line gititemabout.qtpl:7
26func (g *GitItemAboutPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) {
27//line gititemabout.qtpl:7
28	StreamGitItemNav(qw422016, name, ref, Readme)
29//line gititemabout.qtpl:7
30}
31
32//line gititemabout.qtpl:7
33func (g *GitItemAboutPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) {
34//line gititemabout.qtpl:7
35	qw422016 := qt422016.AcquireWriter(qq422016)
36//line gititemabout.qtpl:7
37	g.StreamNav(qw422016, name, ref)
38//line gititemabout.qtpl:7
39	qt422016.ReleaseWriter(qw422016)
40//line gititemabout.qtpl:7
41}
42
43//line gititemabout.qtpl:7
44func (g *GitItemAboutPage) Nav(name, ref string) string {
45//line gititemabout.qtpl:7
46	qb422016 := qt422016.AcquireByteBuffer()
47//line gititemabout.qtpl:7
48	g.WriteNav(qb422016, name, ref)
49//line gititemabout.qtpl:7
50	qs422016 := string(qb422016.B)
51//line gititemabout.qtpl:7
52	qt422016.ReleaseByteBuffer(qb422016)
53//line gititemabout.qtpl:7
54	return qs422016
55//line gititemabout.qtpl:7
56}
57
58//line gititemabout.qtpl:9
59func (g *GitItemAboutPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) {
60//line gititemabout.qtpl:9
61	qw422016.N().S(`
62<div class="m-2">
63`)
64//line gititemabout.qtpl:11
65	qw422016.N().Z(g.About)
66//line gititemabout.qtpl:11
67	qw422016.N().S(`
68</div>
69`)
70//line gititemabout.qtpl:13
71}
72
73//line gititemabout.qtpl:13
74func (g *GitItemAboutPage) WriteGitContent(qq422016 qtio422016.Writer, name, ref string) {
75//line gititemabout.qtpl:13
76	qw422016 := qt422016.AcquireWriter(qq422016)
77//line gititemabout.qtpl:13
78	g.StreamGitContent(qw422016, name, ref)
79//line gititemabout.qtpl:13
80	qt422016.ReleaseWriter(qw422016)
81//line gititemabout.qtpl:13
82}
83
84//line gititemabout.qtpl:13
85func (g *GitItemAboutPage) GitContent(name, ref string) string {
86//line gititemabout.qtpl:13
87	qb422016 := qt422016.AcquireByteBuffer()
88//line gititemabout.qtpl:13
89	g.WriteGitContent(qb422016, name, ref)
90//line gititemabout.qtpl:13
91	qs422016 := string(qb422016.B)
92//line gititemabout.qtpl:13
93	qt422016.ReleaseByteBuffer(qb422016)
94//line gititemabout.qtpl:13
95	return qs422016
96//line gititemabout.qtpl:13
97}