simplemap

command
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

README

configloader Example: Simple Map

This example simply loads config into a map[string]interface{}. Access can then be as raw or as mediated as you want. Note that this is not the recommended usage, as it skips initialization-time checks and introduces the possibility of more runtime errors.

If you don't need any of the specific features of configloader (override config files, defaults, environment variable overrides), then you should probably just use the unmarshaler (encoding/json or BurntSushi/toml) directly.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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