Documentation ¶
Index ¶
- func CompareVersion(version1 string, version2 string) bool
- func ConvertToPinyin(text string) string
- func ExistWithStrArray(str string, arr []string) bool
- func GetSortedVersions(versions []string) []string
- func GetUuid() string
- func IsCrossVersion(version1, version2 string) bool
- func IsNum(s string) bool
- func IsValidDomain(domain string) bool
- func LoadSizeUnit(value float64) string
- func LoadSizeUnit2F(value float64) string
- func LoadTimeZone() string
- func LoadTimeZoneByCmd() string
- func RandStr(n int) string
- func RandStrAndNum(n int) string
- func RemoveRepeatElement(a interface{}) (ret []interface{})
- func ScanPort(port int) bool
- func ScanPortWithProto(port int, proto string) bool
- func ScanUDPPort(port int) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersion ¶
func ConvertToPinyin ¶ added in v1.6.0
func ExistWithStrArray ¶
func GetSortedVersions ¶
func IsCrossVersion ¶
func IsValidDomain ¶ added in v1.8.0
func LoadSizeUnit ¶
func LoadSizeUnit2F ¶ added in v1.6.1
func LoadTimeZone ¶ added in v1.2.0
func LoadTimeZone() string
func LoadTimeZoneByCmd ¶ added in v1.3.0
func LoadTimeZoneByCmd() string
func RandStrAndNum ¶ added in v1.2.3
func RemoveRepeatElement ¶
func RemoveRepeatElement(a interface{}) (ret []interface{})
func ScanPortWithProto ¶ added in v1.6.0
func ScanUDPPort ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.