Como inicializar corretamente uma struct aninhada (nested struct) em Go?
Olá a todos! Sou novo em Go e estou com um problema para inicializar structs aninhadas. Estou escrevendo um pequeno projeto para trabalhar com uma API de clima.\n\nEu tenho estas structs:\n\n```go\ntype WeatherResponse struct {\n Location Location\n Current CurrentWeather\n}\n\ntype Location struct {\n Name string\n Country string\n Lat float64\n Lon float64\n}\n\ntype CurrentWeather struct {\n Temperature float64\n Humidity int\n Condition string\n Wind WindInfo\n}\n\ntype WindInfo struct {\n Speed float64\n Deg int\n}\n```\n\nEstou tentando criar uma instância de `WeatherResponse` e preencher todos os campos de uma vez, mas estou recebendo erros de compilação. Tentei diferentes opções:\n\n```go\n// Opção 1 - não funciona\ndata := WeatherResponse{\n Location.Name: "Moscow