type OneCallData … type OneCallCurrentData … type OneCallMinutelyData … type OneCallHourlyData … type OneCallDailyData … type OneCallAlertData … // NewCurrent returns a new OneCallData pointer with the supplied parameters func NewOneCall(unit, lang, key string, excludes []string, options ...Option) (*OneCallData, error) { … } // OneCallByCoordinates will provide the onecall weather with the // provided location coordinates. func (w *OneCallData) OneCallByCoordinates(location *Coordinates) error { … }