Help us shape the future of Go! Take the 2026 Go Developer Survey

changelogs

package
v2.950.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: AGPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SplitRegex        = regexp.MustCompile(`(?m)^## `)
	HeaderRegex       = regexp.MustCompile(`(?m)^## (.*?) - (\d{4}-\d{2}-\d{2})`)
	VersionMatchRegex = regexp.MustCompile(`(?:##|//) ([a-zA-Z0-9]+): ([0-9]+\.[0-9]+\.[0-9]+)`)
)

Functions

func ChangelogEntriesBetweenVersions

func ChangelogEntriesBetweenVersions(lang string, feature string, newVersion string, oldVersion string) ([]string, error)

func CompileChangelog

func CompileChangelog(lang string) (string, error)

func GetChangeLog

func GetChangeLog(lang string, targetVersions, previousVersions map[string]string) (string, error)

func GetLatestVersions

func GetLatestVersions(target string) (map[string]string, error)

func GetTemplateChangeLog

func GetTemplateChangeLog(templateVersion string, targetVersions, previousVersions map[string]string) (string, error)

func MustGenerate

func MustGenerate(template string, targetVersions map[string]string, previousVersions map[string]string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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