You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ByZip functions require an int as argument, this is an issue with German zip codes since they can start with a 0, for example Chemnitz (Saxony) has the zip acode 09123
Examples of functions affected:
func (w *CurrentWeatherData) CurrentByZip(zip int, countryCode string) error (current.go)
func (f *ForecastWeatherData) DailyByZip(zip int, countryCode string, days int) (forecast.go)
I suggest passing this as string
The text was updated successfully, but these errors were encountered:
The
ByZip
functions require anint
as argument, this is an issue with German zip codes since they can start with a0
, for example Chemnitz (Saxony) has the zip acode09123
Examples of functions affected:
func (w *CurrentWeatherData) CurrentByZip(zip int, countryCode string) error
(current.go)func (f *ForecastWeatherData) DailyByZip(zip int, countryCode string, days int)
(forecast.go)I suggest passing this as
string
The text was updated successfully, but these errors were encountered: