Versions in this module Expand all Collapse all v0 v0.1.0 Feb 3, 2024 Changes in this version + const URL + const UserAgent + const Version + type Output struct + Colors colors.Colors + Icon string + Rain string + Temperature float64 + Units string + type Weather struct + Config *config.Config + Forecast forecaster.Forecast + Forecaster forecaster.Forecaster + LastCheck time.Time + Location geocoder.Location + Locator geocoder.Locator + func New(config *config.Config) (*Weather, error) + func (w *Weather) Colors() colors.Colors + func (w *Weather) GenerateOutput() Output + func (w *Weather) GetForecast() error + func (w *Weather) GetForecaster() string + func (w *Weather) GetLocation() error + func (w *Weather) GetLocator() string + func (w *Weather) GobDecode(data []byte) error + func (w *Weather) GobEncode() ([]byte, error) + func (w *Weather) Icon() string + func (w *Weather) Load() error + func (w *Weather) PrintForecast() error + func (w *Weather) Rain() string + func (w *Weather) Save() error + func (w *Weather) Temperature() float64 + func (w *Weather) Units() string