func printHourly(w *wunderground.Wunderground) { hourly, err := w.Hourly(zip) if err != nil { panic(err) } fmt.Printf("\nResponse:\n %+v\n", hourly.Response) fmt.Printf("\nHourly:\n %+v\n", hourly.Hourly) }