Closed stormaaja closed 1 week ago
Remove dependency to temperature. Instead take measurement type and field from the path.
Add validation though. Allow only
temperature
electricity_consumption
energy
Use grouping: https://gin-gonic.com/docs/examples/grouping-routes/
Rename store route to measurement route.
Rleated to #7
Remove dependency to temperature. Instead take measurement type and field from the path.
Add validation though. Allow only
temperature
andtemperature
electricity_consumption
andenergy
Use grouping: https://gin-gonic.com/docs/examples/grouping-routes/
Rename store route to measurement route.
Rleated to #7