Documentation
¶
Overview ¶
Package github provides typed GitHub REST and GraphQL access via the go-gh library. Credentials resolve through go-gh's auth chain (GH_TOKEN/GITHUB_TOKEN, hosts.yml, then the gh binary's keyring); no gh CLI stdout is ever parsed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreatePRParams ¶
CreatePRParams describes a pull request to open.
type PRComment ¶
type PRComment struct {
ID int `json:"id"`
Path string `json:"path"`
Line int `json:"line"`
Body string `json:"body"`
User struct {
Login string `json:"login"`
Type string `json:"type"`
} `json:"user"`
CreatedAt string `json:"created_at"`
DiffHunk string `json:"diff_hunk"`
InReplyTo int `json:"in_reply_to_id"`
}
PRComment is one inline review comment or issue comment as returned by the GitHub REST API (subset of fields the orchestrator consumes).
Click to show internal directories.
Click to hide internal directories.