summaryrefslogtreecommitdiffstats
path: root/nws/nws.go
diff options
context:
space:
mode:
Diffstat (limited to 'nws/nws.go')
-rw-r--r--nws/nws.go20
1 files changed, 15 insertions, 5 deletions
diff --git a/nws/nws.go b/nws/nws.go
index aebfed8..4fc1727 100644
--- a/nws/nws.go
+++ b/nws/nws.go
@@ -12,12 +12,22 @@ import (
"ricketyspace.net/peach/client"
)
+type PointLocationProperties struct {
+ City string
+ State string
+}
+
+type PointLocation struct {
+ Properties PointLocationProperties
+}
+
type NWSPointProperties struct {
- GridId string
- GridX int
- GridY int
- Forecast string
- ForecastHourly string
+ GridId string
+ GridX int
+ GridY int
+ Forecast string
+ ForecastHourly string
+ RelativeLocation PointLocation
}
type NWSPoint struct {