Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Corrects docs
  • Loading branch information
adlio committed Nov 9, 2016
1 parent b91599a commit dcf032e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To use the Go libary client, instantiate a `darksky.Client` with your Dark Sky A
lat := "47.202"
lng := "-123.4167"

client := darksky.Client("APIKEYHERE")
client := darksky.NewClient("APIKEYHERE")
f, err := client.GetForecast(lat, lng, darksky.Defaults)
if err != nil {
// Handle error
Expand Down

0 comments on commit dcf032e

Please sign in to comment.