Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentRepository ¶
GetCurrentRepository detects the current repository from the local git context Returns the repository in the format "owner/repo" or an empty string and error if detection fails
Types ¶
type PullRequestState ¶ added in v0.2.0
type PullRequestState struct {
IsOpen bool
IsMerged bool
IsClosed bool
CreatedAt time.Time
UpdatedAt time.Time
}
PullRequestState représente l'état d'une Pull Request
func GetPullRequestState ¶ added in v0.2.0
func GetPullRequestState(client *github.Client, owner, repo string, prNumber string) (*PullRequestState, error)
GetPullRequestState récupère l'état courant d'une Pull Request
type ReviewRequest ¶
func GetReviewRequests ¶
Click to show internal directories.
Click to hide internal directories.