title: Visibility of embedded private interfaces in Go
body: <p>If I embed an interface with a lowercase name (private) into another interface with an uppercase name (public), I assume that code outside of the defining package cannot see the embedded private interface. Is this assumption correct?</p>
  
  <pre><code>type b interface {
      G() int
  }
  
  type A interface {
      F() string
      b
  }
  </code></pre>
  
  <p>Code outside of the defining package cannot "see" the embedded <code>b</code>, correct? Outside code cannot call <code>G</code> through an instance of <code>A</code>.</p>