title: Golang Docker API: get events
body: <p>I want to get all new events from docker via the golang integration.
  The problem is that it returns two channels and I couldn't figure out how to subscribe to them.</p>
  
  <pre><code>cli, err := client.NewClientWithOpts(client.WithVersion("1.37"))
  if err != nil {
      panic(err)
  }
  
  ctx, _ := context.WithCancel(context.Background())
  
  msg, err := &lt;- cli.Events(ctx, types.EventsOptions{})
  </code></pre>