package
0.0.0-20220916085736-bda71d42d937
Repository: https://github.com/desmos-labs/changeset.git
Documentation: pkg.go.dev
# Functions
CollectChanges collects the given entries as a types.TypeChanges instance.
ConvertToMarkdown converts the given changelog to a Markdown representation.
GetConfigFilePath returns the path to the configuration file, or an error if something goes wrong.
GetEntries returns the current list of changeset entries.
GetEntriesFolderPath returns the path to the entries folder, or an error if something goes wrong.
ReadConfig reads and parses the configuration file.
ReadEntry reads the file at the given path and parses the contents as an Entry object.
UpdateChangelog reads the CHANGELOG file located at the given path, updates it by replacing the Unreleased section with the provided data, and returns the updated contents.
WriteConfig writes the given configuration instance inside the default file.
WriteEntry writes the given entry inside a newly created file.