title: Checking if map has duplicate values in Go
body: <p>Consider the following map </p>
  
  <pre><code>mymap := make(map[string]string)
  mymap["a"] = "one"
  mymap["b"] = "two"
  mymap["c"] = "one"
  </code></pre>
  
  <p>How to determine if the values are unique?</p>
  
  <p>One strategy is to iterate through the map, create a slice of the values. Then iterate through the slice to find duplicates. Is there a better way?</p>