Press the blue button named format and you will see this https://play.golang.org/p/xILFPwu0WW1 you put a couple of extra curly brackets around the fmt.Println statement.
Don’t feel stupid. It’s new to you. Think of a strict as a thing. That thing has characteristics, properties, and that thing also has behaviors which are functions.
m := map[string]person{
p1.last: p1,
p2.last: p2,
},
fmt.Println(m)
So the compiler basically sees something equivalent to this: m := 1, 2.
He tells you this in the error message as well:
prog.go:24:4: assignment mismatch: 1 variables but 2 values
The two remaining error messages are related to this, and can be ignored in this case.
Please, when you have code that does not work, post the error or unexpected output as well and try to explain what you had expected instead, or what you do not understand with the error message.
Sooner or later you really need to understand them in your own, or you will never be able to do something beyond a hello world.