Similar to this question, I'm try to initialize the following structure with some default values:
type Configuration struct {
Val string
Proxy []struct {
Address string
Port string
}
}
Is there a way to do this without declaring Proxy
separately?