cerrado @ 5fb240326bba79f6963f5d042dea824cdb9e8e45

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