type A struct { B struct { Some string Len int } }
Simple question. How to initialize this struct? I would like to do somet
do it this way:
type Config struct { Element struct { Name string ConfigPaths []string } }
config = Config{} config.Element.Name = "foo" config.Element.ConfigPaths = []string{"blah"}