Versions in this module Expand all Collapse all v1 v1.0.0 Dec 23, 2016 Changes in this version + 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 Mailer() *template.Template + func NewFuncMap() []template.FuncMap + func RenderCommitMessage(full bool, msg, urlPrefix string, metas map[string]string) template.HTML + func Renderer() macaron.Handler + 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) (string, error) + type Actioner interface + 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