parser

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvSet

type EnvSet map[string]EnvVar

EnvSet environment variables.

type EnvVar

type EnvVar struct {
	Name  string
	Value interface{}
}

EnvVar var.

type Parser

type Parser struct {
}

Parser parser for env file.

func New

func New() *Parser

New creates a Parser instance.

func (*Parser) Parse

func (l *Parser) Parse(filename string) (EnvSet, error)

Parse env file.

Jump to

Keyboard shortcuts

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