Added weather route and embedded cache system
This commit is contained in:
11
types/metrics.go
Normal file
11
types/metrics.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package types
|
||||
|
||||
// The Metrics data type, representing the humidity, pressure and
|
||||
// similar miscellaneous values
|
||||
type Metrics struct {
|
||||
Humidity string `json:"humidity"`
|
||||
Pressure string `json:"pressure"`
|
||||
DewPoint string `json:"dewPoint"`
|
||||
UvIndex int8 `json:"uvIndex"`
|
||||
Visibility string `json:"visibility"`
|
||||
}
|
||||
Reference in New Issue
Block a user