<pre class="notranslate">Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1.goinstall github.com/mattn/go-gtk/gtk
2.open browser to <a href="http://godashboard.appspot.com/package" rel="nofollow">http://godashboard.appspot.com/package</a>

What is the expected output?

Should be display github.com/mattn/go-gtk/gtk

What do you see instead?

display github.com/mattn/go-gtk

Which compiler are you using (5g, 6g, 8g, gccgo)?

It is not a problem of golang. This is a bug in $GOROOT/misc/dashboard.
Then, I don't know about appengine's description.

Which operating system are you using?

same above.

Which revision are you using?  (hg identify)

same above.

Please provide any additional information below.

same above.</pre>
<p dir="auto">The following problem occurs in the gcc5 branch and trunk.  It was found when testing on pp64le Ubuntu 14.04 and 14.10 but the problem also occurs on x86 with gccgo.  It works with golang on both platforms.</p>
<p dir="auto">Here is a testcase that demonstrates the failure:</p>
<p dir="auto">package main</p>
<p dir="auto">import (<br>
"encoding/json"<br>
"fmt"<br>
)</p>
<p dir="auto">type HostConfig struct {<br>
Memory          int64<br>
}</p>
<p dir="auto">type Config struct {<br>
Hostname        string<br>
}</p>
<p dir="auto">type hostConfigWrapper struct {<br>
InnerHostConfig *HostConfig<br>
}</p>
<p dir="auto">type ContainerConfigWrapper struct {<br>
*Config<br>
*hostConfigWrapper<br>
}</p>
<p dir="auto">func main() {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    conf := Config{
            Hostname:     &quot;test1&quot;,
    }

    hostConf := HostConfig{
            Memory:          2048,
    }

    var hc hostConfigWrapper
    hc.InnerHostConfig = &amp;hostConf
    var cf ContainerConfigWrapper
    cf.Config = &amp;conf
    cf.hostConfigWrapper = &amp;hc
    out1, _ := json.Marshal(cf)
    fmt.Println(&quot;marshalled data %v\n&quot;,string(out1))"><pre class="notranslate"><code class="notranslate">    conf := Config{
            Hostname:     "test1",
    }

    hostConf := HostConfig{
            Memory:          2048,
    }

    var hc hostConfigWrapper
    hc.InnerHostConfig = &amp;hostConf
    var cf ContainerConfigWrapper
    cf.Config = &amp;conf
    cf.hostConfigWrapper = &amp;hc
    out1, _ := json.Marshal(cf)
    fmt.Println("marshalled data %v\n",string(out1))
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">Output should be:<br>
marshalled data %v<br>
{"Hostname":"test1","InnerHostConfig":{"Memory":2048}}</p>
<p dir="auto">Output with gccgo:<br>
marshalled data %v<br>
{"Hostname":"test1"}</p>