// 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:2 import "context" //line templates/gitlist.qtpl:4 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/gitlist.qtpl:4 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/gitlist.qtpl:5 type GitListPage struct { Respositories []*service.Repository About []byte } //line templates/gitlist.qtpl:11 func (p *GitListPage) StreamTitle(qw422016 *qt422016.Writer, ctx context.Context) { //line templates/gitlist.qtpl:11 qw422016.N().S(`Git | List`) //line templates/gitlist.qtpl:11 } //line templates/gitlist.qtpl:11 func (p *GitListPage) WriteTitle(qq422016 qtio422016.Writer, ctx context.Context) { //line templates/gitlist.qtpl:11 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/gitlist.qtpl:11 p.StreamTitle(qw422016, ctx) //line templates/gitlist.qtpl:11 qt422016.ReleaseWriter(qw422016) //line templates/gitlist.qtpl:11 } //line templates/gitlist.qtpl:11 func (p *GitListPage) Title(ctx context.Context) string { //line templates/gitlist.qtpl:11 qb422016 := qt422016.AcquireByteBuffer() //line templates/gitlist.qtpl:11 p.WriteTitle(qb422016, ctx) //line templates/gitlist.qtpl:11 qs422016 := string(qb422016.B) //line templates/gitlist.qtpl:11 qt422016.ReleaseByteBuffer(qb422016) //line templates/gitlist.qtpl:11 return qs422016 //line templates/gitlist.qtpl:11 } //line templates/gitlist.qtpl:13 func (p *GitListPage) StreamNavbar(qw422016 *qt422016.Writer, ctx context.Context) { //line templates/gitlist.qtpl:13 StreamNavbar(qw422016, ctx, Git) //line templates/gitlist.qtpl:13 } //line templates/gitlist.qtpl:13 func (p *GitListPage) WriteNavbar(qq422016 qtio422016.Writer, ctx context.Context) { //line templates/gitlist.qtpl:13 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/gitlist.qtpl:13 p.StreamNavbar(qw422016, ctx) //line templates/gitlist.qtpl:13 qt422016.ReleaseWriter(qw422016) //line templates/gitlist.qtpl:13 } //line templates/gitlist.qtpl:13 func (p *GitListPage) Navbar(ctx context.Context) string { //line templates/gitlist.qtpl:13 qb422016 := qt422016.AcquireByteBuffer() //line templates/gitlist.qtpl:13 p.WriteNavbar(qb422016, ctx) //line templates/gitlist.qtpl:13 qs422016 := string(qb422016.B) //line templates/gitlist.qtpl:13 qt422016.ReleaseByteBuffer(qb422016) //line templates/gitlist.qtpl:13 return qs422016 //line templates/gitlist.qtpl:13 } //line templates/gitlist.qtpl:15 func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer, ctx context.Context) { //line templates/gitlist.qtpl:15 qw422016.N().S(`
`) //line templates/gitlist.qtpl:30 qw422016.E().S(r.Description) //line templates/gitlist.qtpl:30 qw422016.N().S(`