Golang struct inheritance not working as intended? : <p>Check out <a href="https://play.golang.org/p/elIHgHAZjT" rel="noreferrer" title="this sandbox">this sandbox</a></p>

<p>When declaring a struct that inherits from a different struct:</p>

<pre><code>type Base struct {
    a string
    b string
}

type Something struct {
    Base
    c string
}
</code></pre>

<p>Then calling functions specifying values for the inherited values gives a compilation error:</p>

<pre><code>f(Something{
    a: "letter a",
    c: "letter c",
})
</code></pre>

<p>The error message is: <code>unknown Something field 'a' in struct literal</code>.</p>

<p>This seems highly weird to me. Is this really the intended functionality?</p>

<p>Thanks for the help!</p>
