Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ReloadTemplates is whether to reload templates on each request. ReloadTemplates bool // StaticDir is the directory containing static assets. StaticDir = filepath.Join(defaultBase("sourcegraph.com/sourcegraph/thesrc/app"), "static") )
View Source
var (
APIClient = thesrc.NewClient(nil)
)
View Source
var ( // TemplateDir is the directory containing the html/template template files. TemplateDir = filepath.Join(defaultBase("sourcegraph.com/sourcegraph/thesrc/app"), "tmpl") )
Functions ¶
func LoadTemplates ¶
func LoadTemplates()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.