Documentation ¶ Index ¶ type Client func NewClient(token string, opts ...Option) (*Client, error) func (c *Client) ListStarredRepos(ctx context.Context, username string, from time.Time, interval time.Duration) ([]*Repo, error) type Option func WithLogger(l *zap.Logger) Option type Repo func (r *Repo) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func NewClient ¶ func NewClient(token string, opts ...Option) (*Client, error) func (*Client) ListStarredRepos ¶ func (c *Client) ListStarredRepos(ctx context.Context, username string, from time.Time, interval time.Duration) ([]*Repo, error) type Option ¶ added in v0.2.0 type Option func(*Client) func WithLogger ¶ added in v0.2.0 func WithLogger(l *zap.Logger) Option type Repo ¶ type Repo struct { Name string Owner string URL string Description string OwnerImageURL string StarredAt time.Time } func (*Repo) String ¶ func (r *Repo) String() string Source Files ¶ View all Source files github.go Click to show internal directories. Click to hide internal directories.