// Code generated by qtc from "gititem.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line templates/gititem.qtpl:1 package templates //line templates/gititem.qtpl:1 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/gititem.qtpl:1 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/gititem.qtpl:2 type GitItemBase interface { //line templates/gititem.qtpl:2 Nav(name, ref string) string //line templates/gititem.qtpl:2 StreamNav(qw422016 *qt422016.Writer, name, ref string) //line templates/gititem.qtpl:2 WriteNav(qq422016 qtio422016.Writer, name, ref string) //line templates/gititem.qtpl:2 GitContent(name, ref string) string //line templates/gititem.qtpl:2 StreamGitContent(qw422016 *qt422016.Writer, name, ref string) //line templates/gititem.qtpl:2 WriteGitContent(qq422016 qtio422016.Writer, name, ref string) //line templates/gititem.qtpl:2 } //line templates/gititem.qtpl:9 type GitItemPage struct { Name string Ref string GitItemBase } //line templates/gititem.qtpl:16 func (p *GitItemPage) StreamTitle(qw422016 *qt422016.Writer) { //line templates/gititem.qtpl:16 qw422016.N().S(`Git | `) //line templates/gititem.qtpl:16 qw422016.E().S(p.Name) //line templates/gititem.qtpl:16 } //line templates/gititem.qtpl:16 func (p *GitItemPage) WriteTitle(qq422016 qtio422016.Writer) { //line templates/gititem.qtpl:16 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/gititem.qtpl:16 p.StreamTitle(qw422016) //line templates/gititem.qtpl:16 qt422016.ReleaseWriter(qw422016) //line templates/gititem.qtpl:16 } //line templates/gititem.qtpl:16 func (p *GitItemPage) Title() string { //line templates/gititem.qtpl:16 qb422016 := qt422016.AcquireByteBuffer() //line templates/gititem.qtpl:16 p.WriteTitle(qb422016) //line templates/gititem.qtpl:16 qs422016 := string(qb422016.B) //line templates/gititem.qtpl:16 qt422016.ReleaseByteBuffer(qb422016) //line templates/gititem.qtpl:16 return qs422016 //line templates/gititem.qtpl:16 } //line templates/gititem.qtpl:18 func (p *GitItemPage) StreamNavbar(qw422016 *qt422016.Writer) { //line templates/gititem.qtpl:18 StreamNavbar(qw422016, Git) //line templates/gititem.qtpl:18 } //line templates/gititem.qtpl:18 func (p *GitItemPage) WriteNavbar(qq422016 qtio422016.Writer) { //line templates/gititem.qtpl:18 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/gititem.qtpl:18 p.StreamNavbar(qw422016) //line templates/gititem.qtpl:18 qt422016.ReleaseWriter(qw422016) //line templates/gititem.qtpl:18 } //line templates/gititem.qtpl:18 func (p *GitItemPage) Navbar() string { //line templates/gititem.qtpl:18 qb422016 := qt422016.AcquireByteBuffer() //line templates/gititem.qtpl:18 p.WriteNavbar(qb422016) //line templates/gititem.qtpl:18 qs422016 := string(qb422016.B) //line templates/gititem.qtpl:18 qt422016.ReleaseByteBuffer(qb422016) //line templates/gititem.qtpl:18 return qs422016 //line templates/gititem.qtpl:18 } //line templates/gititem.qtpl:20 func (p *GitItemPage) StreamContent(qw422016 *qt422016.Writer) { //line templates/gititem.qtpl:20 qw422016.N().S(` `) //line templates/gititem.qtpl:21 p.StreamNav(qw422016, p.Name, p.Ref) //line templates/gititem.qtpl:21 qw422016.N().S(`