type CurrentWeatherData … // NewCurrent returns a new CurrentWeatherData pointer with the supplied parameters func NewCurrent(unit, lang, key string, options ...Option) (*CurrentWeatherData, error) { … } // CurrentByName will provide the current weather with the provided // location name. func (w *CurrentWeatherData) CurrentByName(location string) error { … } // CurrentByCoordinates will provide the current weather with the // provided location coordinates. func (w *CurrentWeatherData) CurrentByCoordinates(location *Coordinates) error { … } // CurrentByID will provide the current weather with the // provided location ID. func (w *CurrentWeatherData) CurrentByID(id int) error { … } // CurrentByZip will provide the current weather for the // provided zip code. // // Deprecated: Use CurrentByZipcode instead. func (w *CurrentWeatherData) CurrentByZip(zip int, countryCode string) error { … } // CurrentByZipcode will provide the current weather for the // provided zip code. func (w *CurrentWeatherData) CurrentByZipcode(zip string, countryCode string) error { … } // CurrentByArea will provide the current weather for the // provided area. func (w *CurrentWeatherData) CurrentByArea() { … }