changeset 156 | 70aadba26338 |
parent 154 | eb83fd052cc5 |
child 157 | 6e9d927d5e32 |
--- a/madon.go Sat Apr 29 12:16:16 2017 +0200 +++ b/madon.go Sat Apr 29 17:27:15 2017 +0200 @@ -13,7 +13,9 @@ // LimitParams contains common limit/paging options for the Mastodon REST API type LimitParams struct { - SinceID, MaxID, Limit int + Limit int // Number of items per query + SinceID, MaxID int // Boundaries + All bool // Get as many items as possible } // apiCallParams is a map with the parameters for an API call