Parse a Query String
Medium · HTTP
A query string looks like q=go&n=2 without the ?. Split on &, then on the first =. Missing values become "". Do not URL-decode; keep this one simple.
Write ParseQuery(raw) that returns map[string]string. An empty string is an empty map. Repeated keys: the last value wins.
Next: Chunk a Slice