conventional

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(newVersion string, commits []*Commit) string

Generate creates a markdown changelog from a list of commits for a new version.

Types

type Commit

type Commit struct {
	Type       string
	Scope      string
	Subject    string
	Body       string
	Footer     map[string]string
	IsBreaking bool
}

Commit represents a parsed conventional commit message.

func Parse

func Parse(message string) (*Commit, error)

Parse parses a raw git commit message string into a Commit struct.

Jump to

Keyboard shortcuts

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