parser

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: MIT Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func func(io.Reader, konfig.Values) error

Func is a function implementing the Parser interface

func (Func) Parse

func (f Func) Parse(r io.Reader, s konfig.Values) error

Parse implements Parser interface

type Parser

type Parser interface {
	Parse(io.Reader, konfig.Values) error
}

Parser is the interface to implement to parse a config file

Directories

Path Synopsis
Package kpkeyval provides a key value parser to parse an io.Reader's content of key/values with a configurable separator and add it into a konfig.Store.
Package kpkeyval provides a key value parser to parse an io.Reader's content of key/values with a configurable separator and add it into a konfig.Store.

Jump to

Keyboard shortcuts

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