parser

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TitlePattern      *regexp.Regexp
	VersionPattern    *regexp.Regexp
	SubsectionPattern *regexp.Regexp
	EntryPattern      *regexp.Regexp
}

Config for parsers

type Default

type Default struct{}

Default CHANGELOG parser Parses Markdown changelogs

func (Default) Parse

func (p Default) Parse(r io.Reader, config *Config) (*model.Changelog, error)

Parse parses a changelog

Jump to

Keyboard shortcuts

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