Documentation
¶
Overview ¶
Package main for an example of how to use the package gisty.
This program creates a new gist on GitHub and returns the URL of the gist.
## Note
In this package, the **environment variable "GH_TOKEN" or "GITHUB_TOKEN" must be set** to the "personal access token" of the GitHub API (with `gist` scope is required).
For GitHub Enterprise users, the environment variable "GH_ENTERPRISE_TOKEN" or "GITHUB_ENTERPRISE_TOKEN" must also be set with the GitHub API "authentication token".
Click to show internal directories.
Click to hide internal directories.