Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubClient ¶
type GitHubClient struct {
// contains filtered or unexported fields
}
func NewGitHubClient ¶
func NewGitHubClient(accessToken string) *GitHubClient
func (*GitHubClient) QueryGistFiles ¶ added in v0.2.0
func (c *GitHubClient) QueryGistFiles(ctx context.Context, userID string, gistName string) (*UserGistFiles, error)
func (*GitHubClient) QueryRepositoryBlob ¶ added in v0.2.0
func (c *GitHubClient) QueryRepositoryBlob(ctx context.Context, repoOwner string, repoName string, path string) ( *RepositoryBlob, error)
type RepositoryBlob ¶ added in v0.2.0
type RepositoryBlob struct { Repository struct { Object struct { Blob struct { Text string } `graphql:"... on Blob"` } `graphql:"object(expression: $object_expr)"` } `graphql:"repository(owner: $repo_owner, name: $repo_name)"` }
type UserGistFiles ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.