vanity/modules/router/templates/index.go

13 lines
211 B
Go

package templates
var Index = `
<h1><a href=".">Index</a></h1>
<hr/>
<h3>Imports:</h3>
<ul>
{{range $path, $package := .Packages}}
<li><a href="{{$package.Path}}">{{$package.Name}}</a></li>
{{end}}
</ul>
`