Documentation ¶
Index ¶
- func Add(values ...interface{}) (result int64)
- func AddFloat(values ...interface{}) (result float64)
- func AsCSS(input interface{}) template.CSS
- func AsHTML(input interface{}) template.HTML
- func AsHTMLAttr(input interface{}) template.HTMLAttr
- func AsJS(input interface{}) template.JS
- func AsURL(input interface{}) template.URL
- func BaseName(path string) (name string)
- func CmpLang(a interface{}, other ...interface{}) (equal bool, err error)
- func CompareDateFormats(format string, a, b time.Time) (same bool)
- func Div(a, b interface{}) (result int64)
- func DivFloat(a, b interface{}) (result float64)
- func Element(data map[string]interface{}) (html template.HTML, err error)
- func ElementAttributes(value interface{}) (html template.HTMLAttr)
- func ElementClose(data map[string]interface{}) (html template.HTML, err error)
- func ElementOpen(data map[string]interface{}) (html template.HTML, err error)
- func EscapeHtml(input interface{}) (out template.HTML)
- func EscapeJsonString(input interface{}) (value string)
- func EscapeUrlPath(input interface{}) (escaped string)
- func FilterStrings(pattern string, values []string) (filtered []string)
- func Float(v interface{}) (i float64)
- func FsExists(path string) (exists bool)
- func FsHash(path string) (shasum string)
- func FsListAllDirs(path string) (files []string)
- func FsListAllFiles(path string) (files []string)
- func FsListDirs(path string) (files []string)
- func FsListFiles(path string) (files []string)
- func FsMime(path string) (mime string)
- func FsUrl(path string) (url string)
- func HtmlFuncMap() (funcMap htmlTemplate.FuncMap)
- func Int(v interface{}) (i int64)
- func IsPath(value string) (ok bool)
- func IsUrl(value string) (ok bool)
- func Iterate(argv ...int) (ch chan int)
- func LogDebug(format string, argv ...interface{}) (html template.HTML)
- func LogError(format string, argv ...interface{}) (html template.HTML)
- func LogWarn(format string, argv ...interface{}) (html template.HTML)
- func MergeClassNames(names ...interface{}) (result template.HTML)
- func Mod(a, b interface{}) (result int64)
- func Mul(a, b interface{}) (result int64)
- func MulFloat(a, b interface{}) (result float64)
- func Nonce(name string) (value string)
- func NumberAsInt(v interface{}) (value int)
- func ParseUrl(value string) (u *url.URL)
- func ReverseStrings(v []string) (reversed []string)
- func SortedFirstLetters(values []interface{}) (firsts []string)
- func SortedKeys(v interface{}) (keys []string)
- func SortedLastNameFirstLetters(values []interface{}) (firsts []string)
- func SortedStrings(values []string) (sorted []string)
- func SplitString(v, delim string) (parts []string)
- func StringsAsList(v ...string) (list []string)
- func Sub(values ...interface{}) (result int64)
- func SubFloat(values ...interface{}) (result float64)
- func TextFuncMap() (funcMap textTemplate.FuncMap)
- func UnescapeHtml(input interface{}) (out template.HTML)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsHTMLAttr ¶
func ElementAttributes ¶
func EscapeHtml ¶
func EscapeJsonString ¶
func EscapeJsonString(input interface{}) (value string)
func EscapeUrlPath ¶
func EscapeUrlPath(input interface{}) (escaped string)
func FilterStrings ¶
func FsListAllDirs ¶
func FsListAllFiles ¶
func FsListDirs ¶
func FsListFiles ¶
func HtmlFuncMap ¶
func HtmlFuncMap() (funcMap htmlTemplate.FuncMap)
func MergeClassNames ¶
func NumberAsInt ¶
func NumberAsInt(v interface{}) (value int)
func ReverseStrings ¶
func SortedFirstLetters ¶
func SortedFirstLetters(values []interface{}) (firsts []string)
func SortedKeys ¶
func SortedKeys(v interface{}) (keys []string)
func SortedLastNameFirstLetters ¶
func SortedLastNameFirstLetters(values []interface{}) (firsts []string)
func SortedStrings ¶
func SplitString ¶
func StringsAsList ¶
func TextFuncMap ¶
func TextFuncMap() (funcMap textTemplate.FuncMap)
func UnescapeHtml ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.