Documentation
¶
Index ¶
- Constants
- func Create(options map[string]interface{}) (map[string]interface{}, error)
- func Delete(options map[string]interface{}) (bool, error)
- func InitRepoLocalAndPushToRemote(repoPath string, opts *Options, ghClient *github.Client) error
- func MergeCommits(ghClient *github.Client, mainBranch string) error
- func Read(options map[string]interface{}) (map[string]interface{}, error)
- func Render(filePath string, opts *Options) ([]byte, error)
- func Update(options map[string]interface{}) (map[string]interface{}, error)
- func WalkLocalRepoPath(repoPath string, opts *Options, ghClient *github.Client) error
- type Config
- type Options
- type Repo
Constants ¶
View Source
const ( DefaultWorkPath = ".github-repo-scaffolding-golang" DefaultTemplateRepo = "dtm-scaffolding-golang" DefaultTemplateOwner = "merico-dev" TransitBranch = "init-with-devstream" DefaultMainBranch = "main" )
Variables ¶
This section is empty.
Functions ¶
func Delete ¶ added in v0.2.0
Delete uninstalls github-repo-scaffolding-golang with provided options.
func InitRepoLocalAndPushToRemote ¶ added in v0.1.0
func MergeCommits ¶ added in v0.2.0
func Read ¶ added in v0.2.0
Read check the health for github-repo-scaffolding-golang with provided param.
Types ¶
Click to show internal directories.
Click to hide internal directories.