temfuc

package
v0.0.0-...-a8d68db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeMD5

func EncodeMD5(str string) string

EncodeMD5 encodes string to md5 hex value.

func EncodeSha1

func EncodeSha1(str string) string

Encode string to sha1 hex value.

func List

func List(l *list.List) chan interface{}

func NewFuncMap

func NewFuncMap() []template.FuncMap

func ReplaceLeft

func ReplaceLeft(s, old, new string) string

Replaces all prefixes 'old' in 's' with 'new'.

func Safe

func Safe(raw string) template.HTML

func ShortSha

func ShortSha(sha1 string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL