Documentation
¶
Index ¶
- func NewClient(token string, client *GithubClient) error
- type GithubClient
- func (client *GithubClient) CreateComment(pull int, org, repo, content, filePath string) (*github.IssueComment, error)
- func (client *GithubClient) GetUserComments(pull int, org, repo, content, filePath string) (int64, error)
- func (client *GithubClient) UpdateComment(commentID int64, org, repo, content, filePath string) (*github.IssueComment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(token string, client *GithubClient) error
NewClient creates a new GithubClient with the provided token
Types ¶
type GithubClient ¶
func (*GithubClient) CreateComment ¶
func (client *GithubClient) CreateComment(pull int, org, repo, content, filePath string) (*github.IssueComment, error)
func (*GithubClient) GetUserComments ¶
func (client *GithubClient) GetUserComments(pull int, org, repo, content, filePath string) (int64, error)
func (*GithubClient) UpdateComment ¶
func (client *GithubClient) UpdateComment(commentID int64, org, repo, content, filePath string) (*github.IssueComment, error)
Click to show internal directories.
Click to hide internal directories.