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