# README
properties
The properties package provides a config Decoder that unmarshals values from Properties formatted sources.
Example usage:
import (
"fmt"
"github.com/warthog618/config"
"github.com/warthog618/config/blob"
"github.com/warthog618/config/blob/decoder/properties"
"github.com/warthog618/config/blob/loader/file"
)
func main() {
c := config.New(blob.New(file.New("config.properties"), properties.NewDecoder()))
s := c.MustGet("nested.string").String()
fmt.Println("s:", s)
// ....
}
The following option can be applied to properties.NewDecoder:
The WithListSeparator option provides a string used to split list values into elements. The default list separator is ",".