title: How can I create an array that contains unique strings?
body: <p>I want to create an array that contains unique strings. How can I do that?</p>
  
  <pre><code>var paths = make([]string, 0)
  
  func main() {
      // Members are added dynamically
      paths = append(paths, "aaa")
      paths = append(paths, "bbb")
      paths = append(paths, "bbb")
      paths = append(paths, "ccc")
  
      // convert ["aaa", "bbb", "bbb", "ccc"] -&gt; ["aaa", "bbb", "ccc"] 
      // or can I use some class that disallow the same string automaticaly?
  }
  </code></pre>