title: Comparing the values of maps in GO
body: <p>I have to compare the values (not keys) of two maps of type '<code>map[string]float64</code>'.</p>
  
  <p>The contents of the maps are : <code>map1[ABCD:300 PQRS:400]</code> and <code>map2[ABCD:30 PQRS:40]</code>
  No I do a check like if value(map1)/value(map2) > = 1 (like 300/30=10>1), then do something. </p>
  
  <p>How can I achieve this in GO ?
  TIA.</p>
  
  <p>i tried something like this : </p>
  
  <pre><code>for key := range m2{
              for k := range m1{
                  temp := m1[k] / m2[key]
                  fmt.Println("temp*******", temp)
              }
          }
  </code></pre>