hostutils v1.0.1 Release Notes

Release Date: 2018-10-25 // over 5 years ago
    • ๐Ÿ‘Œ Support go mod.
    • ๐Ÿ‘Œ Support go 1.11.

Previous changes from v1.0.0

  • func Normalize(hosts []string) (packedHosts []string)
        Normalize Unpack and pack hosts
    
    func NormalizeString(hosts string) (packedHosts []string)
        NormalizeString Unpack and pack hosts
    
    func Pack(hosts []string) (packedHosts []string)
        Pack Pack full hosts list into short abbreviated hosts.
    
    func PackString(hosts string) (packedHosts []string)
        PackString Pack space septated full hosts list into short abbreviated
        hosts.
    
    func Unpack(packedHosts []string) (hosts []string)
        Unpack Unpack short abbreviated hosts into full hosts list.
    
    func UnpackString(packedHosts string) (hosts []string)
        Unpack Unpack space septated short abbreviated hosts into full hosts
        list.