title: Declare struct field name as "type"
body: <p>I am integrating API and parsing its response in a structure. For this I need to declare field name as <code>type</code> as API's response contains <code>key</code> named <code>type</code>. But when I declare <code>type</code> in field name it gives me error: </p>
  
  <blockquote>
    <p>syntax error: unexpected literal <code>type</code>, expecting field name or
    embedded type.</p>
  </blockquote>
  
  <p>I don't know how to declare literal <code>type</code> as struct field name.</p>
  
  <p>My struct is </p>
  
  <pre><code>type Test struct {
      active bool
      name string
      description string
      amount  int
      currency string
      type string
  }
  </code></pre>