cfg

package module
v0.0.0-...-136e0c2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2016 License: MIT Imports: 5 Imported by: 45

README

cfg

A configuration file reader library for Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(filename string, dest map[string]string) error

Load adds or updates entries in an existing map with string keys and string values using a configuration file.

The filename paramter indicates the configuration file to load ... the dest parameter is the map that will be updated.

The configuration file entries should be constructed in key=value syntax. A # symbol at the beginning of a line indicates a comment. Blank lines are ignored.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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