package
1.4.1
Repository: https://github.com/axifive/gitea.git
Documentation: pkg.go.dev

# Functions

ActionContent2Commits converts action content to push commits.
ActionIcon accepts an action operation type and returns an icon class name.
DiffLineTypeToStr returns diff line type name.
DiffTypeToStr returns diff type name.
Escape escapes a HTML string.
IsMultilineCommitMessage checks to see if a commit message contains multiple lines.
List traversings the list.
Mailer provides the templates required for sending notification mails.
NewFuncMap returns functions for injecting to templates.
RenderCommitBody extracts the body of a commit message without its title.
RenderCommitMessage renders commit message with XSS-safe and special links.
RenderCommitMessageLink renders commit message as a XXS-safe link to the provided default url, handling for special links.
Renderer implements the macaron handler for serving the templates.
ReplaceLeft replaces all prefixes 'old' in 's' with 'new'.
Safe render raw as HTML.
SafeJS renders raw as JS.
Sha1 returns sha1 sum of string.
Str2html render Markdown text to HTML.
ToUTF8 converts content to UTF8 encoding and ignore error.
ToUTF8WithErr converts content to UTF8 encoding.
TrN returns key to be used for plural text translation.

# Interfaces

Actioner describes an action.