// Code generated by qtc from "tags.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line templates/tags.qtpl:1 package templates //line templates/tags.qtpl:1 import "git.gabrielgio.me/cerrado/pkg/git" //line templates/tags.qtpl:3 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/tags.qtpl:3 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/tags.qtpl:3 func StreamListTags(qw422016 *qt422016.Writer, name string, tags []*git.TagReference) { //line templates/tags.qtpl:3 qw422016.N().S(` `) //line templates/tags.qtpl:4 if len(tags) > 0 { //line templates/tags.qtpl:4 qw422016.N().S(`
`) //line templates/tags.qtpl:22 qw422016.E().S(t.Message()) //line templates/tags.qtpl:22 qw422016.N().S(`
No tags
`) //line templates/tags.qtpl:30 } //line templates/tags.qtpl:30 qw422016.N().S(` `) //line templates/tags.qtpl:31 } //line templates/tags.qtpl:31 func WriteListTags(qq422016 qtio422016.Writer, name string, tags []*git.TagReference) { //line templates/tags.qtpl:31 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/tags.qtpl:31 StreamListTags(qw422016, name, tags) //line templates/tags.qtpl:31 qt422016.ReleaseWriter(qw422016) //line templates/tags.qtpl:31 } //line templates/tags.qtpl:31 func ListTags(name string, tags []*git.TagReference) string { //line templates/tags.qtpl:31 qb422016 := qt422016.AcquireByteBuffer() //line templates/tags.qtpl:31 WriteListTags(qb422016, name, tags) //line templates/tags.qtpl:31 qs422016 := string(qb422016.B) //line templates/tags.qtpl:31 qt422016.ReleaseByteBuffer(qb422016) //line templates/tags.qtpl:31 return qs422016 //line templates/tags.qtpl:31 }