diff options
author | siddharth <s@ricketyspace.net> | 2022-05-21 17:50:58 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2022-05-21 17:50:58 -0400 |
commit | a4caaf7c0ea5b7495df9a9aeb91936e635000061 (patch) | |
tree | 6340b5046470277f1f4d4f1cfe4fba321e01af2f /nws/nws.go | |
parent | abc77bdb347ed5042de6d74771d52291fe5fef0a (diff) |
nws: update NWSPointProperties
Add relative location.
Diffstat (limited to 'nws/nws.go')
-rw-r--r-- | nws/nws.go | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -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 { |