deb822

package module
v0.0.0-...-51f1e76 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

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.

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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