summaryrefslogtreecommitdiffstats
path: root/photon
diff options
context:
space:
mode:
Diffstat (limited to 'photon')
-rw-r--r--photon/photon.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/photon/photon.go b/photon/photon.go
index 44b4b92..8c85a09 100644
--- a/photon/photon.go
+++ b/photon/photon.go
@@ -13,6 +13,7 @@ import (
"strings"
"ricketyspace.net/peach/client"
+ "ricketyspace.net/peach/nws"
)
// Coordinates.
@@ -129,6 +130,7 @@ func Geocode(location string) ([]Coordinates, error) {
names[c.Name] = true
mCoords = append(mCoords, c)
+ go nws.CacheWeather(c.Lat, c.Lng)
}
return mCoords, nil
}