Versions in this module Expand all Collapse all v0 v0.11.8 Jan 14, 2025 v0.11.7 Jan 7, 2025 Changes in this version type Client + func (c *Client) GetUser(ctx context.Context, uuid string) (u User, err error) v0.11.6 Jan 2, 2025 v0.11.5 Dec 20, 2024 Changes in this version + type Actor struct + Approved *bool + ParticipatedOn string + Role string + State any + Type string + User User + type Branch struct + DefaultMergeStrategy string + MergeStrategies []string + Name string + type Client struct + BaseURL string + HTTPClient *http.Client + RepoSlug string + Token string + Workspace string + func (c *Client) GetCommit(ctx context.Context, commit string) (Commit, error) + func (c *Client) GetPullRequest(id int) (pr PR, err error) + func (c *Client) GetPullRequestsByCommit(ctx context.Context, commit string) (prs []PR, err error) + type Commit struct + SHA string + ShortHash string + type Links struct + Avatar ... + HTML ... + Self ... + type PR struct + Author User + CloseSourceBranch bool + ClosedBy *Actor + CommentCount int + CreatedOn string + Destination TargetBranch + ID int + Links Links + MergeCommit Commit + Participants []Actor + Reason string + Rendered Rendered + Reviewers []Actor + Source TargetBranch + State string + Summary Summary + TaskCount int + Title string + Type string + UpdatedOn string + type PRs []PR + type PullRequestResponse struct + Next string + Page int + PageLen int + Previous string + Size int + Values []PR + type Rendered struct + Description RenderedContent + Reason RenderedContent + Title RenderedContent + type RenderedContent struct + HTML string + Markup string + Raw string + type Summary RenderedContent + type TargetBranch struct + Branch Branch + Commit Commit + Repository struct{ ... } + type User struct + AccountID string + DisplayName string + Links *Links + Nickname string + Type string + UUID string v0.11.5-rc2 Dec 19, 2024