./devel/go-properties, Java properties scanner for Go

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.7.0, Package name: go-properties-1.7.0, Maintainer: pkgsrc-users

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.

Starting from version 1.3.0 the behavior of the MustXXX() functions is
configurable by providing a custom ErrorHandler function. The default has
changed from panic to log.Fatal but this is configurable and custom error
handling functions can be provided. See the package documentation for details.


Required to build:
[lang/go] [pkgtools/cwrappers]

Master sites:

SHA1: f674d08694b72d09b7624f1308927526de5173d6
RMD160: 1cb7fa33d714e4c26a41ca0b2e6c9a021894c4d5
Filesize: 52.256 KB

Version history: (Expand)


CVS history: (Expand)


   2017-08-25 18:49:15 by Jonathan Perkin | Files touched by this commit (93)
Log message:
Remove trailing empty lines.
   2017-08-25 18:30:26 by Jonathan Perkin | Files touched by this commit (35)
Log message:
Fix formatting of go DESCR files.  Some of the contents still leave a lot to be
desired.
   2017-08-17 03:36:54 by Gavan Fantom | Files touched by this commit (5)
Log message:
Add go-properties package