namespace

package module
v0.0.0-...-1b7d462 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: MIT Imports: 4 Imported by: 0

README

namespace

Parse out contents of a file into separate namespaces

Documentation

Index

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)

Jump to

Keyboard shortcuts

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