releaser-pleaser/internal/commitparser/commitparser.go

18 lines
311 B
Go
Raw Normal View History

2024-08-30 22:47:50 +02:00
package commitparser
import (
"github.com/apricote/releaser-pleaser/internal/git"
)
type CommitParser interface {
Analyze(commits []git.Commit) ([]AnalyzedCommit, error)
}
type AnalyzedCommit struct {
git.Commit
Type string
Description string
Scope *string
BreakingChange bool
}