package web import ( "html/template" "io" ) var indexTemplate = template.Must(template.New("index").Parse(`
| Path | Methods | Description |
|---|---|---|
{{ .Path }} |
{{ .Methods }} |
{{ .Description }} |
{{ .InfoJSON }}
`))
var settingsTemplate = template.Must(template.New("settings").Parse(`
Define aliases like PROJECTS -> /mnt/projects. Use in /open as PROJECTS>my/repo.
| Alias | Path |
|---|