Add link functionality

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-05-04 15:16:34 -04:00
parent a035c0d484
commit 014ecb6c16
3 changed files with 200 additions and 14 deletions
+1
View File
@@ -15,6 +15,7 @@ type UserService interface {
UsernameAvailable(ctx context.Context, username string) (bool, *Response, error)
Overview(ctx context.Context, opts *ListOptions) (*CommentsLinks, *Response, error)
OverviewOf(ctx context.Context, username string, opts *ListOptions) (*CommentsLinks, *Response, error)
// returns the client's links
GetHotLinks(ctx context.Context, opts *ListOptions) (*Links, *Response, error)