devel/go-properties - The NetBSD Packages Collection

Java properties scanner for Go

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}/

Properties can be decoded into structs, maps, arrays and values through struct

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.

Build dependencies

lang/go116 pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 8.0earmv7hfgo-properties-1.7.0nb25.tgz
NetBSD 8.0earmv7hfgo-properties-1.7.0nb22.tgz
NetBSD 8.0earmv7hfgo-properties-1.7.0nb27.tgz
NetBSD 8.0i386go-properties-1.7.0nb22.tgz
NetBSD 8.0i386go-properties-1.7.0nb25.tgz
NetBSD 8.0x86_64go-properties-1.7.0nb22.tgz
NetBSD 9.0aarch64go-properties-1.7.0nb27.tgz
NetBSD 9.0aarch64go-properties-1.7.0nb22.tgz
NetBSD 9.0aarch64go-properties-1.7.0nb25.tgz
NetBSD 9.0earmv7hfgo-properties-1.7.0nb27.tgz
NetBSD 9.0earmv7hfgo-properties-1.7.0nb22.tgz
NetBSD 9.0earmv7hfgo-properties-1.7.0nb25.tgz
NetBSD 9.0i386go-properties-1.7.0nb22.tgz
NetBSD 9.0i386go-properties-1.7.0nb25.tgz
NetBSD 9.0x86_64go-properties-1.7.0nb25.tgz
NetBSD 9.0x86_64go-properties-1.7.0nb25.tgz
NetBSD 9.0x86_64go-properties-1.7.0nb26.tgz
NetBSD 9.0x86_64go-properties-1.7.0nb22.tgz
NetBSD 9.0x86_64go-properties-1.7.0nb25.tgz
NetBSD 9.0x86_64go-properties-1.7.0nb27.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.