Documentation ¶
Index ¶
- type Parser
- func (p Parser) AddFilePath(filepath string) (*git.Oid, error)
- func (p *Parser) Clone(repo *github.Repository) error
- func (p Parser) Commit(branch *git.Branch, branchname string, treeId *git.Oid, msg string) error
- func (p Parser) CommitFile(branch *git.Branch, branchname string, filename string, contents string, ...) error
- func (p Parser) CreateBranch(branchname string) (*git.Branch, error)
- func (p Parser) ForkRepository() (*github.Repository, *github.Response, error)
- func (p *Parser) GetClonedProjectsPath() string
- func (p Parser) GetFileContents(filename string) ([]byte, error)
- func (p Parser) GetReadme() (string, []byte, error)
- func (p *Parser) GetRepositoryname() string
- func (p Parser) PullRequest(branchname, msg, tweet_add string) (*github.PullRequest, error)
- func (p Parser) ReadLines(path string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func NewParser ¶
func NewParser(username, repositoryname string, config *config.Configuration) Parser
Init function to define arguments
func (Parser) AddFilePath ¶
func (Parser) CommitFile ¶
func (Parser) CreateBranch ¶
func (Parser) ForkRepository ¶
func (*Parser) GetClonedProjectsPath ¶
func (*Parser) GetRepositoryname ¶
func (Parser) PullRequest ¶
func (p Parser) PullRequest(branchname, msg, tweet_add string) (*github.PullRequest, error)
Click to show internal directories.
Click to hide internal directories.