type HistoricalParameters … type Rain … type Snow … type WeatherHistory … type HistoricalWeatherData … // NewHistorical returns a new HistoricalWeatherData pointer with // the supplied arguments. func NewHistorical(unit, key string, options ...Option) (*HistoricalWeatherData, error) { … } // HistoryByName will return the history for the provided location func (h *HistoricalWeatherData) HistoryByName(location string) error { … } // HistoryByID will return the history for the provided location DiscordID func (h *HistoricalWeatherData) HistoryByID(id int, hp ...*HistoricalParameters) error { … } // HistoryByCoord will return the history for the provided coordinates func (h *HistoricalWeatherData) HistoryByCoord(location *Coordinates, hp *HistoricalParameters) error { … }