Documentation ¶
Index ¶
- func CompareVersion(version1 string, version2 string) bool
- 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 LoadSizeUnit(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 ScanUDPPort(port int) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersion ¶
func ExistWithStrArray ¶
func GetSortedVersions ¶
func IsCrossVersion ¶
func LoadSizeUnit ¶
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 ScanUDPPort ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.