// Code generated by qtc from "gitlist.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line gitlist.qtpl:1 package templates //line gitlist.qtpl:1 import "git.gabrielgio.me/cerrado/pkg/service" //line gitlist.qtpl:3 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line gitlist.qtpl:3 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line gitlist.qtpl:4 type GitListPage struct { Respositories []*service.Repository } //line gitlist.qtpl:9 func (p *GitListPage) StreamTitle(qw422016 *qt422016.Writer) { //line gitlist.qtpl:9 qw422016.N().S(`Git | List`) //line gitlist.qtpl:9 } //line gitlist.qtpl:9 func (p *GitListPage) WriteTitle(qq422016 qtio422016.Writer) { //line gitlist.qtpl:9 qw422016 := qt422016.AcquireWriter(qq422016) //line gitlist.qtpl:9 p.StreamTitle(qw422016) //line gitlist.qtpl:9 qt422016.ReleaseWriter(qw422016) //line gitlist.qtpl:9 } //line gitlist.qtpl:9 func (p *GitListPage) Title() string { //line gitlist.qtpl:9 qb422016 := qt422016.AcquireByteBuffer() //line gitlist.qtpl:9 p.WriteTitle(qb422016) //line gitlist.qtpl:9 qs422016 := string(qb422016.B) //line gitlist.qtpl:9 qt422016.ReleaseByteBuffer(qb422016) //line gitlist.qtpl:9 return qs422016 //line gitlist.qtpl:9 } //line gitlist.qtpl:11 func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer) { //line gitlist.qtpl:11 qw422016.N().S(`
`) //line gitlist.qtpl:15 for _, r := range p.Respositories { //line gitlist.qtpl:15 qw422016.N().S(`

`) //line gitlist.qtpl:18 qw422016.E().S(r.Name) //line gitlist.qtpl:18 qw422016.N().S(`

`) //line gitlist.qtpl:21 qw422016.E().S(r.LastCommitMessage) //line gitlist.qtpl:21 qw422016.N().S(`

`) //line gitlist.qtpl:22 qw422016.E().S(r.LastCommitDate) //line gitlist.qtpl:22 qw422016.N().S(`

`) //line gitlist.qtpl:24 } //line gitlist.qtpl:24 qw422016.N().S(`
`) //line gitlist.qtpl:26 } //line gitlist.qtpl:26 func (p *GitListPage) WriteContent(qq422016 qtio422016.Writer) { //line gitlist.qtpl:26 qw422016 := qt422016.AcquireWriter(qq422016) //line gitlist.qtpl:26 p.StreamContent(qw422016) //line gitlist.qtpl:26 qt422016.ReleaseWriter(qw422016) //line gitlist.qtpl:26 } //line gitlist.qtpl:26 func (p *GitListPage) Content() string { //line gitlist.qtpl:26 qb422016 := qt422016.AcquireByteBuffer() //line gitlist.qtpl:26 p.WriteContent(qb422016) //line gitlist.qtpl:26 qs422016 := string(qb422016.B) //line gitlist.qtpl:26 qt422016.ReleaseByteBuffer(qb422016) //line gitlist.qtpl:26 return qs422016 //line gitlist.qtpl:26 } //
//
// //line gitlist.qtpl:30 func (p *GitListPage) StreamScript(qw422016 *qt422016.Writer) { //line gitlist.qtpl:30 qw422016.N().S(` `) //line gitlist.qtpl:31 } //line gitlist.qtpl:31 func (p *GitListPage) WriteScript(qq422016 qtio422016.Writer) { //line gitlist.qtpl:31 qw422016 := qt422016.AcquireWriter(qq422016) //line gitlist.qtpl:31 p.StreamScript(qw422016) //line gitlist.qtpl:31 qt422016.ReleaseWriter(qw422016) //line gitlist.qtpl:31 } //line gitlist.qtpl:31 func (p *GitListPage) Script() string { //line gitlist.qtpl:31 qb422016 := qt422016.AcquireByteBuffer() //line gitlist.qtpl:31 p.WriteScript(qb422016) //line gitlist.qtpl:31 qs422016 := string(qb422016.B) //line gitlist.qtpl:31 qt422016.ReleaseByteBuffer(qb422016) //line gitlist.qtpl:31 return qs422016 //line gitlist.qtpl:31 }