// SplitHosts takes a comma-spearated list of hosts and returns a slice
// with the hosts split
SplitHosts takes a comma-spearated list of hosts and returns a slice
with the hosts split
// SplitHosts takes a comma - spearated list of hosts and returns a slice // with the hosts split
func SplitHosts(hostList string) []string {
	if hostList == "" {
		return nil
	}
	return strings.Split(hostList, ",")
}
func SplitHosts ( hostList string ) [ ] string { if hostList == " " { return nil } return strings . Split ( hostList , " " ) }
SplitHosts takes a comma-spearated list of hosts and returns a slice
with the hosts split
SplitHosts takes a comma - spearated list of hosts and returns a slice with the hosts split