Skip to content

Commit

Permalink
add link to forecast.io register page
Browse files Browse the repository at this point in the history
  • Loading branch information
schachmat committed Apr 9, 2016
1 parent e4e9a6e commit b1e3711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/forecast.io.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (c *forecastConfig) Fetch(location string, numdays int) iface.Data {
var ret iface.Data

if len(c.apiKey) == 0 {
log.Fatal("No forecast.io API key specified.")
log.Fatal("No forecast.io API key specified. You have to register for one at https://developer.forecast.io/register")
}
requri := fmt.Sprintf(forecastWuri, c.apiKey, location, c.language)

Expand Down

0 comments on commit b1e3711

Please sign in to comment.