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