1
0
mirror of https://github.com/writeas/go-writeas.git synced 2025-07-27 12:40:31 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Rob Loranger
de8ce4dcd2
closes T589 update tests to use dev client
this changes tests to only use the dev client as all code is shared
between that and the write.as client, just the host changes.

also updated post tests to round trip and test over sub tests
2019-05-28 14:52:30 -07:00
Rob Loranger
7c3a6949d5
fixes failing tests
tests were failing on expected write.as blog title
previously the title was 'write.as' and it is now 'write.as blog'

also removed test case ExampleClient_GetCollection as was a duplicate of
TestGetCollection
2019-05-27 09:07:29 -07:00
Rob Loranger
a853522f69
adds GetCollectionPost
this adds a client method to retrieve a collection post along with basic
tests - phabricator task T588
2019-05-27 09:04:23 -07:00
7a2c93ae6d Revert "DeleteCollection: Make params a struct"
This reverts commit 1d34eede72.
2019-05-26 14:08:05 -04:00
Abhinav Gupta
1d34eede72 DeleteCollection: Make params a struct
Rather than accepting a naked string, accept a DeleteCollectionParams
struct so that new optional parameters can be added in the future
without breaking the API.
2018-12-28 06:42:42 -08:00
Abhinav Gupta
f962e5052b collection: Add support for deletion
This adds support for deleting collections.

Resolves #1.
2018-12-27 23:53:03 -08:00
253cf3cf19 Support retrieving auth'd user's collections 2018-09-20 13:02:41 +02:00
5e85229ef2 Fix collection_test log 2018-09-20 12:39:02 +02:00
fbe1c5830b Add expected output on examples 2018-02-15 15:47:21 -05:00
f4196014b5 Support fetching collection posts
This closes #3
2017-11-19 15:01:34 -05:00
6c9010c924 Fix GetCollection example signature 2017-08-07 21:35:11 -04:00
90e9560c81 Add GetCollection example 2017-08-07 21:20:56 -04:00
Matt Baer
f47bf30fe3 Support collection fetching 2016-10-05 17:47:38 -04:00