summaryrefslogtreecommitdiffstats
path: root/nws
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-18 06:19:41 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-18 06:19:41 -0400
commit43365bd5d8b55e5f490ee96d5b631521735a3ed8 (patch)
treef70422d29b1b7efa5a7634a7ec905c39c07512ea /nws
parent9b14bf5641ba8ecee34d9b266864ae198550af5c (diff)
weather: update `NewWeather`
Add handling to skip duplicate alerts.
Diffstat (limited to 'nws')
-rw-r--r--nws/nws.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/nws/nws.go b/nws/nws.go
index ecef792..0a456d9 100644
--- a/nws/nws.go
+++ b/nws/nws.go
@@ -68,6 +68,7 @@ type FeatureProperties struct {
}
type Feature struct {
+ Id string
Properties FeatureProperties
}