13 lines
343 B
Go
13 lines
343 B
Go
|
package types
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
// Temperature ...
|
||
|
type Temperature struct {
|
||
|
TemperatureID string `json:"temperature_id"`
|
||
|
TemperatureValue float64 `json:"temperature_value,string"`
|
||
|
TemperatureDate time.Time `json:"temperature_date"`
|
||
|
SensorID string `json:"sensor_id"`
|
||
|
CreationDate time.Time `json:"creation_date"`
|
||
|
}
|