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