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 RandStr(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 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.