diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-05-30 18:08:12 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-05-30 18:08:12 +0200 |
commit | 8f5f9ff24b0327f7640e3619de109e1f19cfba1d (patch) | |
tree | 693e669355c00ed2445da34f4032bfd60abdbbe8 /templates/gititemrefs.qtpl.go | |
parent | fb45f1f5002ffdb40150333c5a48458b801f3022 (diff) | |
download | cerrado-8f5f9ff24b0327f7640e3619de109e1f19cfba1d.tar.gz cerrado-8f5f9ff24b0327f7640e3619de109e1f19cfba1d.tar.bz2 cerrado-8f5f9ff24b0327f7640e3619de109e1f19cfba1d.zip |
feat: Add git sub page
Diffstat (limited to 'templates/gititemrefs.qtpl.go')
-rw-r--r-- | templates/gititemrefs.qtpl.go | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/templates/gititemrefs.qtpl.go b/templates/gititemrefs.qtpl.go new file mode 100644 index 0000000..5294bf9 --- /dev/null +++ b/templates/gititemrefs.qtpl.go @@ -0,0 +1,90 @@ +// Code generated by qtc from "gititemrefs.qtpl". DO NOT EDIT. +// See https://github.com/valyala/quicktemplate for details. + +//line gititemrefs.qtpl:1 +package templates + +//line gititemrefs.qtpl:1 +import ( + qtio422016 "io" + + qt422016 "github.com/valyala/quicktemplate" +) + +//line gititemrefs.qtpl:1 +var ( + _ = qtio422016.Copy + _ = qt422016.AcquireByteBuffer +) + +//line gititemrefs.qtpl:2 +type GitItemRefsPage struct { +} + +//line gititemrefs.qtpl:6 +func (g *GitItemRefsPage) StreamNav(qw422016 *qt422016.Writer, name string) { +//line gititemrefs.qtpl:6 + StreamGitItemNav(qw422016, name, Refs) +//line gititemrefs.qtpl:6 +} + +//line gititemrefs.qtpl:6 +func (g *GitItemRefsPage) WriteNav(qq422016 qtio422016.Writer, name string) { +//line gititemrefs.qtpl:6 + qw422016 := qt422016.AcquireWriter(qq422016) +//line gititemrefs.qtpl:6 + g.StreamNav(qw422016, name) +//line gititemrefs.qtpl:6 + qt422016.ReleaseWriter(qw422016) +//line gititemrefs.qtpl:6 +} + +//line gititemrefs.qtpl:6 +func (g *GitItemRefsPage) Nav(name string) string { +//line gititemrefs.qtpl:6 + qb422016 := qt422016.AcquireByteBuffer() +//line gititemrefs.qtpl:6 + g.WriteNav(qb422016, name) +//line gititemrefs.qtpl:6 + qs422016 := string(qb422016.B) +//line gititemrefs.qtpl:6 + qt422016.ReleaseByteBuffer(qb422016) +//line gititemrefs.qtpl:6 + return qs422016 +//line gititemrefs.qtpl:6 +} + +//line gititemrefs.qtpl:8 +func (g *GitItemRefsPage) StreamGitContent(qw422016 *qt422016.Writer) { +//line gititemrefs.qtpl:8 + qw422016.N().S(` +<h4>Refs</h4> +`) +//line gititemrefs.qtpl:10 +} + +//line gititemrefs.qtpl:10 +func (g *GitItemRefsPage) WriteGitContent(qq422016 qtio422016.Writer) { +//line gititemrefs.qtpl:10 + qw422016 := qt422016.AcquireWriter(qq422016) +//line gititemrefs.qtpl:10 + g.StreamGitContent(qw422016) +//line gititemrefs.qtpl:10 + qt422016.ReleaseWriter(qw422016) +//line gititemrefs.qtpl:10 +} + +//line gititemrefs.qtpl:10 +func (g *GitItemRefsPage) GitContent() string { +//line gititemrefs.qtpl:10 + qb422016 := qt422016.AcquireByteBuffer() +//line gititemrefs.qtpl:10 + g.WriteGitContent(qb422016) +//line gititemrefs.qtpl:10 + qs422016 := string(qb422016.B) +//line gititemrefs.qtpl:10 + qt422016.ReleaseByteBuffer(qb422016) +//line gititemrefs.qtpl:10 + return qs422016 +//line gititemrefs.qtpl:10 +} |