title: Golang struct {}{} meaning
body: <p>I am looking at the docs for the chi package. I see something like: </p>
  
  <p><a href="https://github.com/pressly/chi/blob/master/_examples/rest/main.go#L154" rel="nofollow noreferrer">https://github.com/pressly/chi/blob/master/_examples/rest/main.go#L154</a></p>
  
  <pre><code>data := struct {
      *Article
      OmitID interface{} `json:"id,omitempty"` // prevents 'id' from being overridden
  }{Article: article}
  </code></pre>
  
  <p>How do I interpret this? 2 parts I don't fully understand</p>
  
  <ul>
  <li>How does the <code>OmitID</code> part prevent <code>id</code> from being set? </li>
  <li>What does the <code>{Article: article}</code> part do? </li>
  </ul>