2026-01-15 22:39:37 -06:00
|
|
|
|
// FILE: internal/model/forecast.go
|
2026-01-13 18:14:21 -06:00
|
|
|
|
package model
|
|
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
|
|
// WeatherForecast identity fields (as you described).
|
|
|
|
|
|
type WeatherForecast struct {
|
2026-01-15 22:39:37 -06:00
|
|
|
|
IssuedBy string `json:"issuedBy,omitempty"` // e.g. "NWS"
|
|
|
|
|
|
IssuedAt time.Time `json:"issuedAt"` // when forecast product was issued
|
|
|
|
|
|
ForecastType string `json:"forecastType,omitempty"` // e.g. "hourly", "daily"
|
|
|
|
|
|
ForecastStart time.Time `json:"forecastStart"` // start of the applicable forecast period
|
2026-01-13 18:14:21 -06:00
|
|
|
|
|
|
|
|
|
|
// TODO: You’ll likely want ForecastEnd too.
|
|
|
|
|
|
// TODO: Add meteorological fields you care about.
|
|
|
|
|
|
}
|