Add a type for items:
type Items map[string]int
Then use it in the literal:
l := Livingroom{*pr, Items{"sofa": 2, "chair": 4}}
Peter
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.