Categorygithub.com/onlineconf/onlineconf-go/v2
package
2.0.1
Repository: https://github.com/onlineconf/onlineconf-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

onlineconf

Go package onlineconf reads configuration files generated by OnlineConf.

Example

Read parameters from a module:

module := onlineconf.GetModule("module")
s := module.GetString("/my/parameter", "default value")
i := module.GetInt("/my/parameter", 300)

Reading parameters from the module "TREE" can be simpler:

s := onlineconf.GetString("/my/parameter", "default value")
i := onlineconf.GetInt("/my/parameter", 300)