Versions in this module Expand all Collapse all v0 v0.7.22 Nov 25, 2015 v0.7.19 Nov 21, 2015 Changes in this version + var Funcs template.FuncMap = map[string]interface + func ActionContent2Commits(act Actioner) *models.PushCommits + func ActionIcon(opType int) string + func DiffLineTypeToStr(diffType int) string + func DiffTypeToStr(diffType int) string + func List(l *list.List) chan interface + func Range(l int) []int + func RenderCommitMessage(msg, urlPrefix string) template.HTML + func ReplaceLeft(s, old, new string) string + func Safe(raw string) template.HTML + func Sha1(str string) string + func Str2html(raw string) template.HTML + func ToUtf8(content string) string + func ToUtf8WithErr(content []byte) (error, string) + type Actioner interface + GetActEmail func() string + GetActUserName func() string + GetBranch func() string + GetContent func() string + GetCreate func() time.Time + GetIssueInfos func() []string + GetOpType func() int + GetRepoLink func() string + GetRepoName func() string + GetRepoPath func() string + GetRepoUserName func() string