Properties is a Go library for reading and writing properties files.
It supports reading from multiple files or URLs 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.
Properties can be decoded into structs, maps, arrays and values through struct
tags.
Comments and the order of keys are preserved. Comments can be modified and can
be written to the output.
The properties library supports both ISO-8859-1 and UTF-8 encoded data.
This package contains the source code needed for building packages that
reference the following Go import paths:
– github.com/magiconair/properties