Go error: "embedded type cannot be a pointer to interface"
<p>The following code gives compile-time error:</p>

<pre><code>type IFile interface {
    Read() (n int, err error)
    Write() (n int, err error)
}

type TestFile struct {
   *IFile
}
</code></pre>

<p>Error:</p>

<blockquote>
  <p>./test.go:18: embedded type cannot be a pointer to interface</p>
</blockquote>

<p>Why can't I embed <code>*IFile</code>?</p>