docs: Add godoc

This commit is contained in:
tsuyoshiwada 2018-02-18 01:54:44 +09:00
parent 4dd9b350e6
commit d55318c7a0
9 changed files with 154 additions and 84 deletions

View file

@ -55,7 +55,7 @@ func TestGeneratorNotFoundCommits(t *testing.T) {
gen := NewGenerator(&Config{
Bin: "git",
WorkingDir: filepath.Join(testRepoRoot, testName),
Template: filepath.Join("testdata", testName+".md"),
Template: filepath.Join(cwd, "testdata", testName+".md"),
Info: &Info{
RepositoryURL: "https://github.com/git-chglog/git-chglog",
},
@ -124,7 +124,7 @@ func TestGeneratorWithTypeScopeSubject(t *testing.T) {
gen := NewGenerator(&Config{
Bin: "git",
WorkingDir: filepath.Join(testRepoRoot, testName),
Template: filepath.Join("testdata", testName+".md"),
Template: filepath.Join(cwd, "testdata", testName+".md"),
Info: &Info{
Title: "CHANGELOG Example",
RepositoryURL: "https://github.com/git-chglog/git-chglog",