Documentation ¶
Overview ¶
Package gist provides a very minimal client for interacting with the GitHub Gist API.
To use this package, you need to create a Client object with your access token. Then, you can use the Client.Get or Client.Update methods to retrieve or modify Gists.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // Token is the GitHub access token used for authentication. Token string // HTTPClient is an optional custom HTTP client object to use for requests. // If not provided, request.DefaultClient will be used. HTTPClient *http.Client // Scrubber is an optional strings.Replacer that scrubs unwanted data from // error messages. Scrubber *strings.Replacer }
Client represents a GitHub Gist API client.
Click to show internal directories.
Click to hide internal directories.