github.com/polydawn/docket@v0.5.4-0.20140630233848-90b70fb433da/conf/doc.go (about)

     1  /*
     2  	This package contains the config file loading system used by hroot.
     3  	It produces conf.Settings from TOML-formatted configuration files.
     4  
     5  	Config files can arranged in nested directories, will loaded recursively, with config values accumulating
     6  	and the deeper config files overriding the values from the shallower files, providing a simple
     7  	structure for inheriting common configuration.
     8  
     9  	This package isolates conf.Settings from any specific knowledge of TOML (admittedly,
    10  	conf.Settings is annotated to help the toml loader; but it does *not* have a
    11  	compile-time dep on a toml library).
    12  */
    13  package conf