env

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultReplace = map[string]string{
	"-": "_",
}
View Source
var DefaultSetSeparator = "__"

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Prefix        string
	SetSeparator  string
	ListSeparator string
	Replace       map[string]string

	LookupEnvFunc func(string) (string, bool)
	// contains filtered or unexported fields
}

func (*Parser) Parse

func (p *Parser) Parse(fs parse.FlagSet) (err error)

Jump to

Keyboard shortcuts

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