Commit Graph

4 Commits

Author SHA1 Message Date
TSUYUSATO Kitsune
b105e8554c Remove 'go' from calling 'cancel'
https://github.com/mattn/go-mastodon/pull/28#discussion_r112162740
2017-04-19 19:12:09 +09:00
TSUYUSATO Kitsune
fb53d41dd9 Correct context uses
`doAPI`'s `context` does not work due to `WithContext` immutability.
`Authenticate` and `RegisterApp` does not use `context` although they
needs `context`, so their `context` does not work also. This commit fixes
them and add test cases.
2017-04-19 18:53:55 +09:00
Yasuhiro Matsumoto
5e84b57bf3 breaking compatibility changes. take context for first arguments. 2017-04-17 11:10:29 +09:00
Yasuhiro Matsumoto
3b4b2ce794 separate test files 2017-04-16 20:06:54 +09:00