Documentation
¶
Overview ¶
Interact with GitHub's api, wrapper around cli/go-gh client object.
Index ¶
Constants ¶
View Source
const (
DefaultEndpoint = "https://api.github.com/notifications"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Enrich ¶ added in v0.2.7
func (c *Client) Enrich(n *notifications.Notification) error
func (*Client) Notifications ¶
func (c *Client) Notifications() (notifications.Notifications, error)
type Extra ¶ added in v0.2.3
type Extra struct {
User notifications.User `json:"user"`
State string `json:"state"`
HtmlUrl string `json:"html_url"`
}
type RetryError ¶ added in v0.2.3
type RetryError struct {
// contains filtered or unexported fields
}
func (RetryError) Error ¶ added in v0.2.3
func (e RetryError) Error() string
Click to show internal directories.
Click to hide internal directories.