diff options
Diffstat (limited to 'templates/gititemabout.qtpl.go')
-rw-r--r-- | templates/gititemabout.qtpl.go | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/templates/gititemabout.qtpl.go b/templates/gititemabout.qtpl.go new file mode 100644 index 0000000..7b772e5 --- /dev/null +++ b/templates/gititemabout.qtpl.go @@ -0,0 +1,90 @@ +// Code generated by qtc from "gititemabout.qtpl". DO NOT EDIT. +// See https://github.com/valyala/quicktemplate for details. + +//line gititemabout.qtpl:1 +package templates + +//line gititemabout.qtpl:1 +import ( + qtio422016 "io" + + qt422016 "github.com/valyala/quicktemplate" +) + +//line gititemabout.qtpl:1 +var ( + _ = qtio422016.Copy + _ = qt422016.AcquireByteBuffer +) + +//line gititemabout.qtpl:2 +type GitItemAboutPage struct { +} + +//line gititemabout.qtpl:6 +func (g *GitItemAboutPage) StreamNav(qw422016 *qt422016.Writer, name string) { +//line gititemabout.qtpl:6 + StreamGitItemNav(qw422016, name, Readme) +//line gititemabout.qtpl:6 +} + +//line gititemabout.qtpl:6 +func (g *GitItemAboutPage) WriteNav(qq422016 qtio422016.Writer, name string) { +//line gititemabout.qtpl:6 + qw422016 := qt422016.AcquireWriter(qq422016) +//line gititemabout.qtpl:6 + g.StreamNav(qw422016, name) +//line gititemabout.qtpl:6 + qt422016.ReleaseWriter(qw422016) +//line gititemabout.qtpl:6 +} + +//line gititemabout.qtpl:6 +func (g *GitItemAboutPage) Nav(name string) string { +//line gititemabout.qtpl:6 + qb422016 := qt422016.AcquireByteBuffer() +//line gititemabout.qtpl:6 + g.WriteNav(qb422016, name) +//line gititemabout.qtpl:6 + qs422016 := string(qb422016.B) +//line gititemabout.qtpl:6 + qt422016.ReleaseByteBuffer(qb422016) +//line gititemabout.qtpl:6 + return qs422016 +//line gititemabout.qtpl:6 +} + +//line gititemabout.qtpl:8 +func (g *GitItemAboutPage) StreamGitContent(qw422016 *qt422016.Writer) { +//line gititemabout.qtpl:8 + qw422016.N().S(` +<h4>About</h4> +`) +//line gititemabout.qtpl:10 +} + +//line gititemabout.qtpl:10 +func (g *GitItemAboutPage) WriteGitContent(qq422016 qtio422016.Writer) { +//line gititemabout.qtpl:10 + qw422016 := qt422016.AcquireWriter(qq422016) +//line gititemabout.qtpl:10 + g.StreamGitContent(qw422016) +//line gititemabout.qtpl:10 + qt422016.ReleaseWriter(qw422016) +//line gititemabout.qtpl:10 +} + +//line gititemabout.qtpl:10 +func (g *GitItemAboutPage) GitContent() string { +//line gititemabout.qtpl:10 + qb422016 := qt422016.AcquireByteBuffer() +//line gititemabout.qtpl:10 + g.WriteGitContent(qb422016) +//line gititemabout.qtpl:10 + qs422016 := string(qb422016.B) +//line gititemabout.qtpl:10 + qt422016.ReleaseByteBuffer(qb422016) +//line gititemabout.qtpl:10 + return qs422016 +//line gititemabout.qtpl:10 +} |