title: How to split a string by multiple delimiters
body: <p>I want to parse a string xxxxx:yyyyy:zzz.aaa.bbb.cc:dd:ee:ff to a struct in Go, how can I do it with multiple delimiter ':' and '.'.</p>
  <p>Edit:</p>
  <p>I want to split the string &quot;xxxxx:yyyyy:zzz.aaa.bbb.cc:dd&quot; into below struct type</p>
  <pre><code>type Target struct {
      Service string
      Type    string
      Domain  string
      Plan    string
      Host    string
      Region  string
      Other   string
  }
  </code></pre>
  <p>So that</p>
  <pre><code>Service = xxxxx 
  Type = yyyyy 
  Domain = zzzz 
  Plan = aaa 
  Host = bbb 
  Region = cc 
  Other = dd 
  </code></pre>