package main
import "fmt"
func main() {
var m map[string]Collection02
m = make(map[string]Collection02)
m["Hello World"] = Collection02{
3.1415926, -2.141414,
}
fmt.Println(m["Hello World"])
}
type Collection02 struct {
X float64
Y float64
}
{3.1415926 -2.141414}
The syntax seems confusingly weird...