Icedream
e6526da3e0
Remove intermediate interface and provide Set methods for HttpClient and Token.
...
- Make the "Client" struct construction-friendly so it can be easily initialized with "new(footballdata.Client)".
- Rewrite example_test.go to show the respective new usage. Make it clear here that the SetToken call is optional.
This would fix #2 .
2016-06-26 12:57:14 +02:00
Icedream
1d952c49e9
Revert "Move commentary for client methods to the actual interface."
...
This reverts commit 8f5d035e92
.
2016-06-26 12:24:59 +02:00
Icedream
8f5d035e92
Move commentary for client methods to the actual interface.
2016-06-25 23:35:38 +02:00
Icedream
c65cf6f06c
Complements to pull request for improving comments.
...
- Fix casing of method commentary.
- Fix grammar and punctuation for client.SetToken.
2016-06-25 23:29:23 +02:00
Christian
cb16d45ecb
Better abstraction & https://golang.org/doc/effective_go.html#commentary
2016-06-25 12:15:58 +02:00
Icedream
df54a3b11f
Fix number formatting in requests.
2016-06-13 19:47:09 +02:00
Icedream
948c454c25
Fix return value of SoccerSeasonFixturesRequest.Do().
2016-06-13 19:25:37 +02:00
Icedream
055b2a4227
Initial commit.
2016-06-13 00:39:00 +02:00