code: func (d *Domain) ToStrArray() []string {
  	var domains []string
  	if len(d.Main) > 0 {
  		domains = []string{d.Main}
  	}
  	return append(domains, d.SANs...)
  }
docs: // ToStrArray convert a domain into an array of strings.