title: Dictionary in Go
body: <p>I'm just starting out with Go, and coming from Python I'm trying to find the equivalent of a dict in Python. In Python I would do this:</p>
  <pre><code>d = {
      'name': 'Kramer',  # string
      'age': 25          # int
  }
  </code></pre>
  <p>I first found the <code>map</code> type, but that only allows for one type of value (it can't handle both <code>ints</code> and <code>strings</code>. Do I really need to create a <code>struct</code> whenever I want to do something like this? Or is there a type I'm missing?</p>