Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-config-reader

JSON Config Reader

A simple config reader which is capable of loading multiple JSON files, merging their contents and reading values from the derived structure by using a dot seperated key string. Configs are loaded in order, with the information in later configs overriding that of earlier configs. See fixtures for examples.

Example

    import "github.com/voidhaze/jsoncfg"

    config := new(Jsonconfig)
    config.Loadfiles("config.json", "config.local.json")

    host := config.Get("database.host")

About

JSON Config Reader

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages