18 lines
558 B
Go
18 lines
558 B
Go
// conditions_rows.go defines row DTOs for current-conditions reads.
|
|
// Layer: adapters/outbound/postgres conditions feature.
|
|
package postgres
|
|
|
|
import "database/sql"
|
|
|
|
type currentConditionsRow struct {
|
|
SampleCount int64
|
|
TemperatureC sql.NullFloat64
|
|
ApparentTemperatureC sql.NullFloat64
|
|
DewpointC sql.NullFloat64
|
|
RelativeHumidityPercent sql.NullFloat64
|
|
WindSpeedKmh sql.NullFloat64
|
|
WindDirectionDegrees sql.NullFloat64
|
|
ConditionCode sql.NullInt64
|
|
IsDay sql.NullBool
|
|
}
|