fix: struct comparison example

This commit is contained in:
Inanc Gumus
2019-05-12 01:17:40 +03:00
parent 60fd45cb33
commit 90c5e5a866

View File

@ -49,7 +49,7 @@ func main() {
songs := []song{
// #7b: you don't have to type the element types
{title: "wonderwall", artist: "oasis"},
{title: "radioactive", artist: "imagine dragons"},
{title: "supersonic", artist: "oasis"},
}
// #7: a struct can include another struct