Documentation ¶
Overview ¶
Package template handles template parsing and execution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NotYet = `not yet` JustNow = `just now` LastMinute = `1 minute ago` Minutes = `%d minutes ago` LastHour = `1 hour ago` Hours = `%d hours ago` Yesterday = `yesterday` Days = `%d days ago` Weeks = `%d weeks ago` Months = `%d months ago` Years = `%d years ago` )
Texts to be translated if necessary.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine handles the templating system.
func (*Engine) SetLanguage ¶
SetLanguage change the language for template processing.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.