type important struct {
client string `json:"client"`
Response Summary `json:"response"`
type Summary struct {
Name string `json:"name"`
Metadata Clientdata `json:"metadata"`
}
type Clientdata struct {
Income string `json:"income"`
}
v := &important{ client: "xyz", Response: Summary[{
Name: "test",
Metadata: Clientdata { "404040"},
}
}]
:要約{: "テスト"、メタデータ:名前Clientdata { "404040"}を使用することができず、}(タイプ要約)タイプとして[]概要みます
私はここで間違っていますか?
自分自身で行ってください。https://github.com/golang/go/wiki/CodeReviewComments#gofmt –