Documentation
¶
Index ¶
- type Gh
- func (g *Gh) CloseIssuesUsingTitle(ctx context.Context, closeTitle string, ignoreNumber int) error
- func (g *Gh) CommentFooter() string
- func (g *Gh) CommitAndPush(ctx context.Context, branch string, content []byte, rPath, message string) error
- func (g *Gh) CommitAndPushFile(ctx context.Context, branch, file, rPath, message string) error
- func (g *Gh) CreateGist(ctx context.Context, fname string, public bool, in io.Reader, out io.Writer) error
- func (g *Gh) CreateIssue(ctx context.Context, title string, comment string, assignees []string) (int, error)
- func (g *Gh) CreateRelease(ctx context.Context, tag, title, body string) error
- func (g *Gh) CreateTag(ctx context.Context, branch, tag string) error
- func (g *Gh) DeleteCurrentIssueComment(ctx context.Context, n int) error
- func (g *Gh) FetchLatestMergedPullRequest(ctx context.Context) (int, error)
- func (g *Gh) GetDefaultBranch(ctx context.Context) (string, error)
- func (g *Gh) GetPullRequestNumber(ctx context.Context, branch string) (int, error)
- func (g Gh) IsIssue(ctx context.Context, n int) (bool, error)
- func (g Gh) IsPullRequest(ctx context.Context, n int) (bool, error)
- func (g *Gh) MakeComment(ctx context.Context, body, header, footer string) (string, error)
- func (g *Gh) PutIssueComment(ctx context.Context, n int, comment string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gh ¶
type Gh struct {
// contains filtered or unexported fields
}
func (*Gh) CloseIssuesUsingTitle ¶ added in v0.8.0
func (*Gh) CommentFooter ¶ added in v0.2.0
func (*Gh) CommitAndPush ¶ added in v0.3.0
func (*Gh) CommitAndPushFile ¶ added in v0.5.2
func (*Gh) CreateGist ¶ added in v0.5.0
func (*Gh) CreateIssue ¶ added in v0.6.1
func (*Gh) CreateRelease ¶ added in v0.11.0
func (*Gh) DeleteCurrentIssueComment ¶ added in v0.4.0
func (*Gh) FetchLatestMergedPullRequest ¶ added in v0.10.0
func (*Gh) GetDefaultBranch ¶ added in v0.11.0
func (*Gh) GetPullRequestNumber ¶ added in v0.14.0
func (Gh) IsPullRequest ¶ added in v0.4.0
func (*Gh) MakeComment ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.