Files
weatherfeeder/internal/normalizers/nws/register.go

23 lines
452 B
Go
Raw Normal View History

// FILE: ./internal/normalizers/nws/register.go
package nws
import (
fknormalize "gitea.maximumdirect.net/ejr/feedkit/normalize"
)
// Register appends NWS normalizers in stable order.
func Register(in []fknormalize.Normalizer) []fknormalize.Normalizer {
out := in
// Observations
out = append(out, ObservationNormalizer{})
// Forecasts
out = append(out, ForecastNormalizer{})
// Alerts
out = append(out, AlertsNormalizer{})
return out
}