From d1e36e4a92f73e50fd6d1caa89df2322c13e13a0 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 28 Sep 2015 18:25:55 +0200 Subject: Add country to output --- weather.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.3