Documentation ¶
Index ¶
- func InArrayPath(url string, arr []string) bool
- func InArrayString(s string, arr []string) bool
- func IsEmpty(val string) bool
- func RemovePrefix(s string, prefix string) string
- func RemoveSuffix(s string, suffix string) string
- func SetPrefix(s string, prefix string) string
- func SetSuffix(s string, suffix string) string
- func Utf8StringLength(str string) int
- func Utf8TruncateText(text string, max int, omission string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InArrayPath ¶
====================================================================== * * 功能:模糊匹配路径 * ======================================================================
func InArrayString ¶
====================================================================== * * 功能:在字符串数组中 是否 存在 该字符串 * ======================================================================
func RemovePrefix ¶
func RemoveSuffix ¶
func Utf8StringLength ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.