Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WatchFilter = func(c *revel.Controller, fc []revel.Filter) { if MainWatcher != nil { err := MainWatcher.Notify() if err != nil { c.Result = c.RenderError(err) return } } revelWatchFilter(c, fc) }
Functions ¶
This section is empty.
Types ¶
type GoplateLoader ¶
type GoplateLoader struct { *goplate.PlateLoader // contains filtered or unexported fields }
var ( MainGoplateLoader *GoplateLoader MainWatcher *revel.Watcher )
func NewGoplateLoader ¶
func NewGoplateLoader() *GoplateLoader
func (*GoplateLoader) Refresh ¶
func (this *GoplateLoader) Refresh() *revel.Error
func (*GoplateLoader) WatchFile ¶
func (this *GoplateLoader) WatchFile(basename string) bool
Click to show internal directories.
Click to hide internal directories.