Documentation

Overview

    Parse the Debian changelog format.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type ChangelogEntries

    type ChangelogEntries []ChangelogEntry

    func Parse

    func Parse(reader io.Reader) (ChangelogEntries, error)

    func ParseFile

    func ParseFile(path string) (ChangelogEntries, error)

    type ChangelogEntry

    type ChangelogEntry struct {
    	Source    string
    	Version   version.Version
    	Target    string
    	Arguments map[string]string
    	Changelog string
    	ChangedBy string
    	When      time.Time
    }

      A ChangelogEntry is the encapsulation for each entry for a given version in a series of uploads.

      func ParseFileOne

      func ParseFileOne(path string) (*ChangelogEntry, error)

      func ParseOne

      func ParseOne(reader *bufio.Reader) (*ChangelogEntry, error)