// Code generated by qtc from "nav.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line app/vmalert/tpl/nav.qtpl:1 package tpl //line app/vmalert/tpl/nav.qtpl:1 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line app/vmalert/tpl/nav.qtpl:1 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line app/vmalert/tpl/nav.qtpl:2 type NavItem struct { Name string Url string } //line app/vmalert/tpl/nav.qtpl:8 func StreamPrintNavItems(qw422016 *qt422016.Writer, current string, items []NavItem) { //line app/vmalert/tpl/nav.qtpl:8 qw422016.N().S(` `) //line app/vmalert/tpl/nav.qtpl:23 } //line app/vmalert/tpl/nav.qtpl:23 func WritePrintNavItems(qq422016 qtio422016.Writer, current string, items []NavItem) { //line app/vmalert/tpl/nav.qtpl:23 qw422016 := qt422016.AcquireWriter(qq422016) //line app/vmalert/tpl/nav.qtpl:23 StreamPrintNavItems(qw422016, current, items) //line app/vmalert/tpl/nav.qtpl:23 qt422016.ReleaseWriter(qw422016) //line app/vmalert/tpl/nav.qtpl:23 } //line app/vmalert/tpl/nav.qtpl:23 func PrintNavItems(current string, items []NavItem) string { //line app/vmalert/tpl/nav.qtpl:23 qb422016 := qt422016.AcquireByteBuffer() //line app/vmalert/tpl/nav.qtpl:23 WritePrintNavItems(qb422016, current, items) //line app/vmalert/tpl/nav.qtpl:23 qs422016 := string(qb422016.B) //line app/vmalert/tpl/nav.qtpl:23 qt422016.ReleaseByteBuffer(qb422016) //line app/vmalert/tpl/nav.qtpl:23 return qs422016 //line app/vmalert/tpl/nav.qtpl:23 }