README ¶ namespace Parse out contents of a file into separate namespaces Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Constants type Namespace func Parse(r io.Reader) (Namespace, error) func ParseCh(lines <-chan string) (Namespace, error) func ParseChWithHeaderDelimiter(lines <-chan string, hdrDelim string) (Namespace, error) func ParseWithHeaderDelimiter(r io.Reader, hdrDelim string) (Namespace, error) Constants ¶ View Source const ( GlobalNamespaceKey = "global" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Namespace ¶ type Namespace map[string][]string func Parse ¶ func Parse(r io.Reader) (Namespace, error) func ParseCh ¶ func ParseCh(lines <-chan string) (Namespace, error) func ParseChWithHeaderDelimiter ¶ func ParseChWithHeaderDelimiter(lines <-chan string, hdrDelim string) (Namespace, error) func ParseWithHeaderDelimiter ¶ func ParseWithHeaderDelimiter(r io.Reader, hdrDelim string) (Namespace, error) Source Files ¶ View all Source files ns.go Click to show internal directories. Click to hide internal directories.