Categorygithub.com/itdesigndev/config
modulepackage
1.0.1
Repository: https://github.com/itdesigndev/config.git
Documentation: pkg.go.dev

# README

itdesigndev/config

Go configuration library. Simple wrapper around knadh/koanf (https://github.com/knadh/koanf)

See config_test.go for examples.

# Functions

FromFile creates a new Config object from either a yaml or a json file - depending on the extension.
FromJson creates a new Config object from json file.
FromYaml creates a new Config object from yaml file.
New creates a new Config object with "." as delimiter.
NewConfig creates a new Config object with specified delimiter.

# Structs

The Config structure.