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