Failing test due to API divergence
parent
cb16d45ecb
commit
0ae7a5f5b6
|
@ -12,7 +12,7 @@ func Example() {
|
||||||
client := footballdata.NewClient(http.DefaultClient)
|
client := footballdata.NewClient(http.DefaultClient)
|
||||||
|
|
||||||
// Tell it to use our API token
|
// Tell it to use our API token
|
||||||
client.AuthToken = "<insert your api token here>"
|
client.SetToken("<insert your api token here>")
|
||||||
|
|
||||||
// Get list of seasons...
|
// Get list of seasons...
|
||||||
seasons, err := client.SoccerSeasons().Do()
|
seasons, err := client.SoccerSeasons().Do()
|
||||||
|
|
Loading…
Reference in New Issue