openweather: refactored the OpenWeather source files to relocate normalization logic to internal/normalizers.

This commit is contained in:
2026-01-14 11:59:17 -06:00
parent 0ba2602bcc
commit 759fa31762
5 changed files with 469 additions and 330 deletions

View File

@@ -1,3 +1,4 @@
// FILE: ./internal/normalizers/openweather/register.go
package openweather
import (
@@ -5,15 +6,11 @@ import (
)
// Register registers OpenWeather normalizers into the provided registry.
//
// This is intentionally empty as a stub. As normalizers are implemented,
// register them here, e.g.:
//
// reg.Register(ObservationNormalizer{})
func Register(reg *fknormalize.Registry) {
if reg == nil {
return
}
// TODO: register OpenWeather normalizers here.
// Observations
reg.Register(ObservationNormalizer{})
}