title: generic map value
body: <p>I have run into this problem a few times when wanting to use keys of maps in a similar way but the values in the maps are different. I thought I could write a function that takes the key type I want with  interface{} as the value type but it doesn't work. </p>
  
  <pre><code>func main() {
      mapOne := map[string]int
      mapTwo := map[string]double
      mapThree := map[string]SomeStruct
  
      useKeys(mapOne)
  }
  func useKeys(m map[string]interface{}) {
      //something with keys here
  }
  </code></pre>
  
  <p>Not sure if there is an elegant way to do this I just feel waist full rewriting simple things for different values.</p>