Skip to content

Commit

Permalink
add empty implementation of GetUserItems
Browse files Browse the repository at this point in the history
  • Loading branch information
maiyama18 committed Apr 1, 2019
1 parent c64996f commit fd1b320
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions miniqiita.go
@@ -1,6 +1,7 @@
package miniqiita

import (
"context"
"log"
"net/http"
"net/url"
Expand Down Expand Up @@ -31,3 +32,13 @@ func New(rawBaseURL, token string, logger *log.Logger) (*Client, error) {
Logger: logger,
}, nil
}

type Item struct {
ID string `json:"id"`
Title string `json:"title"`
LikesCount int `json:"likes_count"`
}

func (c *Client) GetUserItems(ctx context.Context, userID string, page, perPage int) ([]*Item, error) {
return nil, nil
}

0 comments on commit fd1b320

Please sign in to comment.