Versions in this module Expand all Collapse all v1 v1.0.0 Jun 15, 2026 Changes in this version + type Adapter struct + func NewAdapter(token string) *Adapter + func NewAdapterWithURL(baseURL string) *Adapter + func (a *Adapter) AuthenticatedUser() string + func (a *Adapter) FetchActivities(prs []*pullrequest.PullRequest, since time.Time) (map[string]pullrequest.PRActivityData, error) + func (a *Adapter) FetchPRStatus(owner, repo string, number int) (pullrequest.PRStatus, error) + func (a *Adapter) FetchRequestedReviews() ([]*pullrequest.PullRequest, error) + func (a *Adapter) FetchUserCreated() ([]*pullrequest.PullRequest, error) + type AuthTransport struct + func (t *AuthTransport) RoundTrip(req *http.Request) (*http.Response, error) + type BatchedTimelineResponse struct + Data map[string]interface{} + Errors []GraphQLError + type Client struct + func NewClient(token string) *Client + func NewClientWithURL(token string, baseURL string) *Client + func (c *Client) ExecuteBatchedTimelineQuery(query string) (*BatchedTimelineResponse, error) + func (c *Client) ExecuteQuery(query string, variables map[string]interface{}) (*GraphQLResponse, error) + func (c *Client) FetchAuthenticatedUserLogin() (string, error) + type GraphQLError struct + Message string + Type string + type GraphQLResponse struct + Data struct{ ... } + Errors []GraphQLError + type LatestReviewsDTO struct + Nodes []ReviewDTO + type PullRequestDTO struct + Author struct{ ... } + Commits ... + CreatedAt time.Time + IsDraft bool + LatestReviews *LatestReviewsDTO + Number int + Repository struct{ ... } + Title string + URL string + type ReviewDTO struct + Author struct{ ... } + State string + SubmittedAt time.Time + type TimelineItemDTO struct + Author ... + Body string + Commit ... + CreatedAt time.Time + Reactions ... + State string + Typename string