From a4caaf7c0ea5b7495df9a9aeb91936e635000061 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sat, 21 May 2022 17:50:58 -0400 Subject: nws: update NWSPointProperties Add relative location. --- nws/nws.go | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'nws/nws.go') 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 { -- cgit v1.2.3