common

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ArbitrarySection = "???"
View Source
const BaseKey string = "base"

Variables

This section is empty.

Functions

func GetVariables

func GetVariables(fileName, sectionName string) ([]string, map[string]string, error)

func LoadSectionNames added in v0.3.0

func LoadSectionNames(fileName string) ([]string, error)

Types

type Document added in v0.2.0

type Document map[interface{}]interface{}

func LoadDocument added in v0.3.0

func LoadDocument(fileName string) (Document, error)

func (Document) GetSection added in v0.3.0

func (doc Document) GetSection(name string) (Document, error)

type GlobalOptions

type GlobalOptions struct {
	ConfigDir string
	EnvFile   string
}
var Options GlobalOptions

Jump to

Keyboard shortcuts

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