README ¶ deb822 deb822 is a Go library for parsing Debian-style RFC822, such as debian/control, debian/copyright, Sources, Packages, etc. Its functionality is similar to python-debian's deb822 module. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func SplitList(data string) []string type Stanza func Parse(data string) ([]Stanza, error) func ParseStanza(data string) (Stanza, error) type SyntaxError func (e *SyntaxError) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SplitList ¶ func SplitList(data string) []string Types ¶ type Stanza ¶ type Stanza = map[string]string func Parse ¶ func Parse(data string) ([]Stanza, error) func ParseStanza ¶ func ParseStanza(data string) (Stanza, error) type SyntaxError ¶ type SyntaxError struct { Line int Col int // contains filtered or unexported fields } func (*SyntaxError) Error ¶ func (e *SyntaxError) Error() string Source Files ¶ View all Source files deb822.go errors.go list.go Directories ¶ Show internal Expand all Path Synopsis debcontrol vcsgit folding Click to show internal directories. Click to hide internal directories.