Documentation ¶
Index ¶
- Constants
- Variables
- func DiffLineTypeToStr(diffType int) string
- func DiffTypeToStr(diffType int) string
- func EncodeSha1(str string) string
- func EscapeHTML(in string) string
- func List(l *list.List) chan interface{}
- func Nl2br(in string) string
- func SafeHTML(text string) template.HTML
- func TimeSince(t time.Time) template.HTML
- func ToAge(bd time.Time) int
Constants ¶
Variables ¶
View Source
var HelperFuncs []template.FuncMap
Functions ¶
func DiffLineTypeToStr ¶
func DiffTypeToStr ¶
func EncodeSha1 ¶
func EscapeHTML ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.