proxy.golang.org : github.com/arstercz/goconfig
This package implements a parser for configuration files. This allows easy reading and writing of structured configuration files. Given a sample configuration file: To read this configuration file, do: Note the support for unfolding variables (such as %(base-url)s), which are read from the special (reserved) section name [default]. A new configuration file can also be created with: This results in the file: Note that sections and options are case-insensitive (values are case-sensitive) and are converted to lowercase when saved to a file. The functionality and workflow is loosely based on the configparser.py package of the Python Standard Library.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/arstercz/goconfig
License: MIT
Latest release: over 10 years ago
First release: over 10 years ago
Namespace: github.com/arstercz
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago