Added wind route and started forecast endpoint
This commit is contained in:
8
types/wind.go
Normal file
8
types/wind.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package types
|
||||
|
||||
// The Wind data type, representing the wind of a certain location
|
||||
type Wind struct {
|
||||
Arrow string `json:"arrow"`
|
||||
Direction string `json:"direction"`
|
||||
Speed string `json:"speed"`
|
||||
}
|
||||
Reference in New Issue
Block a user