Documentation ¶
Index ¶
- func Append() template.FuncMap
- func Atoi() template.FuncMap
- func Contains() template.FuncMap
- func DeadlineDue() template.FuncMap
- func Equals() template.FuncMap
- func GetLogType() template.FuncMap
- func GetUsername() template.FuncMap
- func HasPrefix() template.FuncMap
- func INT64toINT() template.FuncMap
- func Increment() template.FuncMap
- func Itoa() template.FuncMap
- func MDConvert() template.FuncMap
- func Minus() template.FuncMap
- func NullInt64EqualsInt() template.FuncMap
- func NullInt64MinusInt() template.FuncMap
- func PrettyTime() template.FuncMap
- func Review() template.FuncMap
- func SplitChoices() template.FuncMap
- func SplitString() template.FuncMap
- func Sprintf() template.FuncMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeadlineDue ¶
DeadlineDue returns a boolean if the time given is passed current time Usage: {{if DEADLINEDUE .SomeTime}}...{{end}}
func GetLogType ¶
GetLogType gets the log type from the activity id, function inside templates
func GetUsername ¶
GetUsername is a template function that converts user id to username
func INT64toINT ¶
INT64toINT converts int64 to int, function inside templates
func MDConvert ¶
MDConvert convert markdown text to HTML text within the parser Usage: {{ MDCONVERT .Text }}
func NullInt64EqualsInt ¶
NullInt64EqualsInt function similar to eq
func NullInt64MinusInt ¶
NullInt64MinusInt function to substract two ints
func PrettyTime ¶
PrettyTime formats time.Time formats to a prettier format for displaying in HTML Usage: {{PRETTYTIME .Deadline}}
func SplitChoices ¶
SplitChoices splits a string by "," (comma) and returns a string-slice
Types ¶
This section is empty.