summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-09-28 18:25:55 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-09-28 18:25:55 +0200
commitd1e36e4a92f73e50fd6d1caa89df2322c13e13a0 (patch)
tree4854e6ea379a0d50a5fe27c20ce87753f8249da4
parent3a8e285396f88544a9698dcc5de73e1b325a6645 (diff)
Add country to output
-rw-r--r--weather.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weather.go b/weather.go
index 72ff915..768ab93 100644
--- a/weather.go
+++ b/weather.go
@@ -34,7 +34,7 @@ func (c Current) String() string {
if c.Message != "" {
return c.Message
}
- s := fmt.Sprintf("%v: ", c.Name)
+ s := fmt.Sprintf("%v, %v: ", c.Name, c.Sys.Country)
for _, w := range c.Weather {
s += fmt.Sprintf("%v, ", w)
}