Documentation ¶
Index ¶
- func CompareHashAndPassword(hashPassword, password string) bool
- func DiffDays(t time.Time) int
- func DiffForHumans(t *time.Time) string
- func GenerateFromPassword(password string) string
- func GlobalFunc() template.FuncMap
- func Html(s string) template.HTML
- func Limit(s string, start, length int, append string) string
- func Md5(str string) string
- func RemindName(a string) string
- func ResolvePathFileName(path string) string
- func Substr(s string, start, length int) string
- func ToDateString(t time.Time) string
- func ToDateTimeString(t time.Time) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHashAndPassword ¶
func GenerateFromPassword ¶
func GlobalFunc ¶
func ResolvePathFileName ¶
func ToDateString ¶
func ToDateTimeString ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.