Skip to content

Commit ea3d9bc

Browse files
committed
add type for history
1 parent 9379a31 commit ea3d9bc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

api/models/report.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ type ReportDaily struct {
3737
CloudcoverPct *float64 `bson:"cloudcover_pct,omitempty" json:"cloudcover_pct,omitempty"`
3838
WindSpeedMps *float64 `bson:"wind_speed_mps,omitempty" json:"wind_speed_mps,omitempty"`
3939
ClarityPct *float64 `bson:"clarity_pct,omitempty" json:"clarity_pct,omitempty"`
40+
41+
Type int `bson:"type,omitempty" json:"type,omitempty"` // 0: actual, 1: forecast
4042
}
4143

4244
// ReportForecast — forecast section produced by the processor.

0 commit comments

Comments
 (0)