9 lines
175 B
Go
9 lines
175 B
Go
package temperature
|
|
|
|
import "time"
|
|
|
|
type TemperatureReading struct {
|
|
Sensor string `json:"sensor"`
|
|
Time time.Time `json:"time"`
|
|
Degrees float64 `json:"degrees"`
|
|
}
|