commitparser

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByType added in v0.4.0

func ByType(in []AnalyzedCommit) map[string][]AnalyzedCommit

ByType groups the Commits by the type field. Used by the Changelog.

Types

type AnalyzedCommit

type AnalyzedCommit struct {
	git.Commit
	Type           string
	Description    string
	Scope          *string
	BreakingChange bool
}

type CommitParser

type CommitParser interface {
	Analyze(commits []git.Commit) ([]AnalyzedCommit, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL