Documentation ¶
Overview ¶
Package ghrest provides a wrapper around the go-github client that implements the internal REST API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GhRest ¶
type GhRest struct {
// contains filtered or unexported fields
}
GhRest is the struct that contains the GitHub REST API client this struct implements the REST API
func (*GhRest) NewRequest ¶
NewRequest creates an API request. A relative URL can be provided in urlStr, which will be resolved to the BaseURL of the Client. Relative URLS should always be specified without a preceding slash. If specified, the value pointed to by body is JSON encoded and included as the request body.
Click to show internal directories.
Click to hide internal directories.