changelog

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrWarning is a warning error.
	ErrWarning = fmt.Errorf("changelog warning")
)

Functions

This section is empty.

Types

type Args

type Args struct {
	Repo        gitRepo
	RW          readWriter
	Backup      backupSrv
	ConfigFile  fsys.File
	CommitNames []config.CommitName
}

Args is a Generator arguments.

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator generates changelog.

func New

func New(args ...func(arg *Args)) *Generator

New creates new Generator.

func (Generator) Add

func (g Generator) Add(nextV version.V) (err error)

Add adds new version to changelog.

func (Generator) Generate

func (g Generator) Generate() (err error)

Generate generates changelog.

Jump to

Keyboard shortcuts

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