title: Iota to define keys on a Go map?
body: <p>Let's suppose we have a <code>map[int]string</code> and we want to define it like this:</p>
  
  <pre><code>var a map[int]string =  {
   1: "some"
   3: "value"
   4: "maintained"
   7: "manually"
   // more 100 entries...
  }
  </code></pre>
  
  <p>I would like to maintain the values manually because they have no pattern, but the keys have. Is there a way to maintain the key list just like we do with enum values using <code>1 &lt;&lt; 1 + iota</code>?</p>
  
  <p>I'm not asking if it's possible to use iota as a map key (unfortunately it's not AFAIK), just if there is an equally elegant way to create the keys on a defined sequence.</p>