title: Parse string into map Golang
body: <p>I have a string like A=B&amp;C=D&amp;E=F, how to parse it into map in golang?</p>
  
  <p>Here is example on Java, but I don't understand this <code>split</code> part</p>
  
  <pre><code>String text = "A=B&amp;C=D&amp;E=F";
  Map&lt;String, String&gt; map = new LinkedHashMap&lt;String, String&gt;();
  for(String keyValue : text.split(" *&amp; *")) {
     String[] pairs = keyValue.split(" *= *", 2);
     map.put(pairs[0], pairs.length == 1 ? "" : pairs[1]);
  }
  </code></pre>