// Code generated by qtc from "gititemrefs.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line templates/gititemrefs.qtpl:1 package templates //line templates/gititemrefs.qtpl:1 import "github.com/go-git/go-git/v5/plumbing" //line templates/gititemrefs.qtpl:2 import "git.gabrielgio.me/cerrado/pkg/git" //line templates/gititemrefs.qtpl:4 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/gititemrefs.qtpl:4 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/gititemrefs.qtpl:5 type GitItemRefsPage struct { Tags []*git.TagReference Branches []*plumbing.Reference } //line templates/gititemrefs.qtpl:11 func (g *GitItemRefsPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) { //line templates/gititemrefs.qtpl:11 StreamGitItemNav(qw422016, name, ref, Refs) //line templates/gititemrefs.qtpl:11 } //line templates/gititemrefs.qtpl:11 func (g *GitItemRefsPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) { //line templates/gititemrefs.qtpl:11 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/gititemrefs.qtpl:11 g.StreamNav(qw422016, name, ref) //line templates/gititemrefs.qtpl:11 qt422016.ReleaseWriter(qw422016) //line templates/gititemrefs.qtpl:11 } //line templates/gititemrefs.qtpl:11 func (g *GitItemRefsPage) Nav(name, ref string) string { //line templates/gititemrefs.qtpl:11 qb422016 := qt422016.AcquireByteBuffer() //line templates/gititemrefs.qtpl:11 g.WriteNav(qb422016, name, ref) //line templates/gititemrefs.qtpl:11 qs422016 := string(qb422016.B) //line templates/gititemrefs.qtpl:11 qt422016.ReleaseByteBuffer(qb422016) //line templates/gititemrefs.qtpl:11 return qs422016 //line templates/gititemrefs.qtpl:11 } //line templates/gititemrefs.qtpl:13 func (g *GitItemRefsPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) { //line templates/gititemrefs.qtpl:13 qw422016.N().S(`