I\'d like to create a map of string to container/list.List instances. Is this the correct way to go about it?
container/list.List
package main import ( \"fmt\"
Whenever I've wanted to use a List I've found that a slice was the right choice, eg
List
package main import "fmt" func main() { x := make(map[string][]string) x["key"] = append(x["key"], "value") x["key"] = append(x["key"], "value1") fmt.Println(x["key"][0]) fmt.Println(x["key"][1]) }