package
0.1.2
Repository: https://github.com/botwayorg/gh.git
Documentation: pkg.go.dev

# Functions

AddHeader turns a RoundTripper into one that adds a request header.
AddHeaderFunc is an AddHeader that gets the string value from a function.
CacheResponse produces a RoundTripper that caches HTTP responses to disk for a specified amount of time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ForkRepo forks the repository on GitHub and returns the new repository.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewClient initializes a Client.
NewClientFromHTTP takes in an http.Client instance.
NewHTTPClient initializes an http.Client.
OrganizationProjects fetches all open projects for an organization.
OrganizationTeams fetches all the teams in an organization.
No description provided by the author
No description provided by the author
No description provided by the author
ReplaceTripper substitutes the underlying RoundTripper with a custom one.
RepoAndOrgProjects fetches all open projects for a repository and its org.
RepoAssignableUsers fetches all the assignable users for a repository.
No description provided by the author
RepoFindForks finds forks of the repo that are affiliated with the viewer.
RepoLabels fetches all the labels in a repository.
RepoMetadata pre-fetches the metadata for attaching to issues and pull requests.
RepoMilestones fetches milestones in a repository.
RepoNetwork inspects the relationship between multiple GitHub repositories.
RepoParent finds out the parent repository of a fork.
RepoProjects fetches all open projects for a repository.
RepoResolveMetadataIDs looks up GraphQL node IDs in bulk.
No description provided by the author
No description provided by the author
VerboseLog enables request/response logging within a RoundTripper.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BranchRef is the branch name in a GitHub repository.
Client facilitates making HTTP requests to the GitHub API.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GraphQLError is a single error returned in a GraphQL response.
GraphQLErrorResponse contains errors returned in a GraphQL response.
HTTPError is an error returned by a failed API call.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RepoNetworkResult describes the relationship between related repositories.
No description provided by the author
No description provided by the author
Repository contains information about a GitHub repo.
No description provided by the author
RepositoryOwner is the owner of a GitHub repository.
No description provided by the author
No description provided by the author

# Type aliases

ClientOption represents an argument to NewClient.
No description provided by the author