diff --git a/README.md b/README.md index ba5cb89..7a0e026 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ func main() { client := footballdata.NewClient(http.DefaultClient) // Tell it to use our API token - client.AuthToken = "" + client.SetToken("") // Get list of seasons... seasons, err := client.SoccerSeasons().Do() @@ -44,4 +44,4 @@ func main() { } } -``` \ No newline at end of file +```