Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // Token is GithubAccessToken string `mapstructure:"token" yaml:"token" json:"token" toml:"token"` // contains filtered or unexported fields }
Configuration represents the gitnore configuration
func (*Configuration) DownloadRepositoryFileContents ¶
func (c *Configuration) DownloadRepositoryFileContents(path string) error
DownloadRepositoryFileContents is used to retrieve information about a repository's file contents and store it in the .gitignore file
func (*Configuration) GetRepositoryContents ¶
func (c *Configuration) GetRepositoryContents(path string) error
GetRepositoryContents is used to retrieve information about a repository's contents
func (*Configuration) GetRepositoryFileContents ¶
func (c *Configuration) GetRepositoryFileContents(path string) error
GetRepositoryFileContents is used to retrieve information about a repository's file contents
func (*Configuration) NewGithubAPIClient ¶
func (c *Configuration) NewGithubAPIClient() error
NewGithubAPIClient is used to create a new API client for use with the Github API
Click to show internal directories.
Click to hide internal directories.