Versions in this module Expand all Collapse all v1 v1.0.0 Jan 16, 2024 Changes in this version + const Byte + const Gigabyte + const Kilobyte + const Megabyte + const Terabyte + func BooleanToInteger(value bool) int + func ConvertFromStringToInteger(sizeStr string, targetUnit string) (int64, error) + func ConvertToBytes(sizeStr string) (int64, error) + func ConvertToGigabytes(sizeStr string) (int64, error) + func ConvertToKilobytes(sizeStr string) (int64, error) + func ConvertToMegabytes(sizeStr string) (int64, error) + func ConvertToTerabytes(sizeStr string) (int64, error) + func ExecuteCommand(command string, arguments ...string) (string, error) + func ExpandHomeDir(path string) (string, error) + func GetCoreCount() int + func GetTotalMemory() uint64 + func IntegerToBoolean(value int) bool + func IsInSameNetwork(ip string, network string) bool + func IsNumeric(s string) bool + func IsValidIP(ip string) bool + func IsValidIPWithSubnet(address string) bool + func ParseSizeForFromStringToInteger(sizeStr string) (int64, string, error) + func RemoveEmptyStringsFromSlice(slice []string) []string