I am trying to make a slice within a slice in golang, but have been unsuccessful. Here is my code snippet:
Slice1 := []string{"a","b","c"}
Slice2 := []string{"x","y","z"}
SliceOfSlices := []string{Slice1,Slice2}
http://play.golang.org/p/-ECPRTS0_X
Gives me the error : cannot use Slice1 (type []string) as type string in array or slice literal
How do I do this correctly?