Documentation ¶
Index ¶
- Constants
- func FormatHumanBytes(b int64) string
- func IfEmpty(a, b string) string
- func IsChinese(str string) bool
- func IsChineseLetterNumUnline(str string) bool
- func IsDigit(str string) bool
- func IsEmail(str string) bool
- func IsEmailRFC(str string) bool
- func IsLetterNumUnline(str string) bool
- func IsURL(str string) bool
- func JoinInts(is []int64) string
- func ParseHumanBytes(val string) (int64, error)
- func SplitInts(s string) ([]int64, error)
Constants ¶
View Source
const ( KB MB GB TB PB EB )
Variables ¶
This section is empty.
Functions ¶
func FormatHumanBytes ¶
FormatHumanBytes wraps gHumanBytes Bytes's Format function.
func IsChineseLetterNumUnline ¶
IsChineseLetterNumUnline ...
func ParseHumanBytes ¶
ParseHumanBytes wraps gHumanBytes Bytes's Parse function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.