(ctx context.Context, endpoint endpoint, feed Feed, opts ...GetActivitiesOption)
| 604 | } |
| 605 | |
| 606 | func (c *Client) getActivitiesInternal(ctx context.Context, endpoint endpoint, feed Feed, opts ...GetActivitiesOption) ([]byte, error) { |
| 607 | for _, opt := range opts { |
| 608 | endpoint.addQueryParam(opt) |
| 609 | } |
| 610 | return c.get(ctx, endpoint, nil, c.authenticator.feedAuth(resFeed, feed)) |
| 611 | } |
| 612 | |
| 613 | func (c *Client) follow(ctx context.Context, feed Feed, opts *followFeedOptions) (*BaseResponse, error) { |
| 614 | endpoint := c.makeEndpoint("feed/%s/%s/follows/", feed.Slug(), feed.UserID()) |
no test coverage detected