Documentation ¶
Index ¶
- func AddPostfix(str string, width int, ch string) string
- func Base64Decode(str string) string
- func BoolToPass(b bool) string
- func Convert2Utf8IfNeeded(data string) string
- func FindInArr(str string, arr []string) bool
- func HashPassword(pwd string) string
- func IsGBK(data []byte) bool
- func ItoStr(i interface{}) (ret string)
- func MatchExpr(expect string, actual string, langType string) bool
- func Md5(str string) (ret string)
- func NewUuid() string
- func NewUuidWithSep() string
- func ParseInt(str string) (ret int)
- func ParseUint(str string) (ret uint)
- func RandStr(n int) string
- func SnakeCase(str string) string
- func ToStr(str interface{}) (ret string)
- func TrimAll(str string) string
- func UcAll(str string) string
- func UcFirst(str string) string
- func UnescapeUnicode(raw []byte) (ret string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func BoolToPass ¶
func Convert2Utf8IfNeeded ¶
func HashPassword ¶
func NewUuidWithSep ¶
func NewUuidWithSep() string
func UnescapeUnicode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.