An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/magiconair/properties

Package properties provides functions for reading and writing ISO-8859-1 and UTF-8 encoded .properties files and has support for recursive property expansion. Java properties files are ISO-8859-1 encoded and use Unicode literals for characters outside the ISO character set. Unicode literals can be used in UTF-8 encoded properties files but aren't necessary. To load a single properties file use MustLoadFile(): To load multiple properties files use MustLoadFiles() which loads the files in the given order and merges the result. Missing properties files can be ignored if the 'ignoreMissing' flag is set to true. Filenames can contain environment variables which are expanded before loading. All of the different key/value delimiters ' ', ':' and '=' are supported as well as the comment characters '!' and '#' and multi-line values. Properties stores all comments preceding a key and provides GetComments() and SetComments() methods to retrieve and update them. The convenience functions GetComment() and SetComment() allow access to the last comment. The WriteComment() method writes properties files including the comments and with the keys in the original order. This can be used for sanitizing properties files. Property expansion is recursive and circular references and malformed expressions are not allowed and cause an error. Expansion of environment variables is supported. The default property expansion format is ${key} but can be changed by setting different pre- and postfix values on the Properties object. Properties provides convenience functions for getting typed values with default values if the key does not exist or the type conversion failed. As an alternative properties may be applied with the standard library's flag implementation at any time. Properties provides several MustXXX() convenience functions which will terminate the app if an error occurs. The behavior of the failure is configurable and the default is to call log.Fatal(err). To have the MustXXX() functions panic instead of logging the error set a different ErrorHandler before you use the Properties package. You can also provide your own ErrorHandler function. The only requirement is that the error handler function must exit after handling the error. Properties can also be loaded into a struct via the `Decode` method, e.g. See `Decode()` method for the full documentation. The following documents provide a description of the properties file format. http://en.wikipedia.org/wiki/.properties http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#load%28java.io.Reader%29
30 versions
Latest release: plus de 2 ans ago
27 556 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/magiconair/properties

Dependent Repos 20

rferrand/go-config-files-utils
Go library providing various helpers to work with configuration files

Last synced: environ un an ago - Pushed: 12 mois ago

E218662B/web-api-rest-en-go-lang

Last synced: environ un an ago - Pushed: 12 mois ago

E21A429P/tp_web_rest

Last synced: environ un an ago - Pushed: 12 mois ago

swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi

Last synced: 8 mois ago - Pushed: 12 mois ago

guillaume.perreal/coord

Last synced: 12 mois ago - Pushed: 12 mois ago

radiofrance/dib
An opinionated DAG image builder

Size: 3,64 Mo - Last synced: 4 jours ago - Pushed: 4 jours ago

radiofrance/image-registry-metrics-exporter
Image Registry Metrics Exporter provides metrics about creation and uploading time of images on OCI registry.

Size: 306 ko - Last synced: 4 jours ago - Pushed: 8 jours ago

betagouv/vouch-proxy Fork of vouch/vouch-proxy
an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

Size: 5,68 Mo - Last synced: 4 jours ago - Pushed: plus d'un an ago

tchapgouv/matrix-media-repo Fork of t2bot/matrix-media-repo
Matrix media repository with multi-domain in mind.

Size: 6,2 Mo - Last synced: 4 jours ago - Pushed: presque 2 ans ago

signaux-faibles/opensignauxfaibles Fork of entrepreneur-interet-general/opensignauxfaibles
Plateforme de détection des entreprises fragiles

Size: 36,6 Mo - Last synced: 4 jours ago - Pushed: 4 mois ago

signaux-faibles/wekan-alerter
wekan-alerter

Size: 44,9 ko - Last synced: 4 jours ago - Pushed: plus de 2 ans ago

signaux-faibles/goup
Serveur minimaliste pour téléverser des fichiers avec une gestion de droits

Size: 63,1 Mo - Last synced: 4 jours ago - Pushed: plus de 2 ans ago

signaux-faibles/datapi
datAPI - API des applications web signaux-faibles

Size: 43,1 Mo - Last synced: 4 jours ago - Pushed: 7 jours ago

pass-culture/pc-monitoring 📦

Size: 176 Mo - Last synced: 8 mois ago - Pushed: plus de 3 ans ago

capsule/drv

Last synced: 8 mois ago - Pushed: 12 mois ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube

Size: 2,99 Mo - Last synced: 8 mois ago - Pushed: 10 mois ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stack

Last synced: 8 mois ago

csan/csan
CSAN : A marketplace for science

Last synced: 8 mois ago

impl-mentation-s105/gestion-de-particule

Last synced: 8 mois ago - Pushed: 12 mois ago

fantastic-fanfare/adorable_alien

Last synced: 8 mois ago