17 lines
346 B
Go
17 lines
346 B
Go
// outlook.go presents convective outlook payloads.
|
|
// Layer: adapters/inbound/httpapi/presenter outlook payload mapping.
|
|
package presenter
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gitea.maximumdirect.net/ejr/weatherfeeder/model"
|
|
)
|
|
|
|
func OutlookRunPayload(run *model.WeatherOutlookRun, _ Units, _ *time.Location) any {
|
|
if run == nil {
|
|
return nil
|
|
}
|
|
return run
|
|
}
|