package temperature // Measurement provides an interface for each reading type Measurement struct { // ID of the sensor ID int // Temperature in celcius Temperature float64 }