commit | 0f6c2e49af2f0cabb635a7813c4ed01e19f957ac | [log] [tgz] |
---|---|---|
author | Frank Schroeder <frschroeder@ebay.com> | Thu Feb 27 23:04:27 2014 +0100 |
committer | Frank Schroeder <frschroeder@ebay.com> | Thu Feb 27 23:04:27 2014 +0100 |
tree | bd1f5ad2be893cf3110e076f01ab0b0de5e92d04 | |
parent | b0442eebfb2d154a99da6242e6f26556e17377cc [diff] |
Added MustGet methods for all types
properties is a Go library for reading and writing properties files.
It supports reading from multiple files and Spring style recursive property expansion of expressions like ‘${key}’ to their corresponding value.
Value expressions can refer to other keys like in ‘${key}’ or to environment variables like in ‘${USER}’.
Filenames can also contain environment variables like in ‘/home/${USER}/myapp.properties’.
The properties library supports both ISO-8859-1 and UTF-8 encoded data.
$ go get github.com/magiconair/properties
2 clause BSD license. See LICENSE file for details.