summaryrefslogtreecommitdiff
path: root/weather.go
diff options
context:
space:
mode:
Diffstat (limited to 'weather.go')
-rw-r--r--weather.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/weather.go b/weather.go
index a55347c..1ce93f2 100644
--- a/weather.go
+++ b/weather.go
@@ -16,7 +16,6 @@ const baseURL = `http://api.openweathermap.org/data/2.5/weather`
type Current struct {
Coord Coord
Weather []Weather
- Base string // Internal Parameter
Main Main
Wind Wind
Clouds Clouds
@@ -82,7 +81,7 @@ func (m Main) String() string {
type Wind struct {
Speed float64 // Wind speed. Default meter/sec
- Deg int // Wind direction, degrees (meteorogical)
+ Deg float64 // Wind direction, degrees (meteorogical)
Gust float64
}
@@ -125,9 +124,6 @@ func (s Snow) String() string {
}
type Sys struct {
- Type int // Internal Parameter
- ID int // Internal Parameter
- Message float64 // Internal Parameter
Country string // Country code
Sunrise Timestamp // Sunrise time, unix, UTC
Sunset Timestamp // Sunset time, unix, UTC