github.com/silverark/config
Package config parses files with format similar to INI files. Comments starts with '#' or ';'. Each line define a key and a value, both strings. Between them you can use =, : or just spaces. In the above example the key is 'key' and the value is 'value with spaces'. You can also specify sections: All top level options are grouped in a main section. The main section name is passed to the ParseFile function. ParseFile returns a map where keys are section names, and values are options. Options are simple map with string for both keys and values. Example file: Usage example:
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
over 12 years ago
v0.0.0-20131214182432-3eb99e6c0b9a
over 12 years ago
Versions
1
1
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/silverark/config
spec |
| License | MIT |
| Namespace | github.com/silverark |
| First Release | over 12 years ago |
| Last Synced | about 1 month ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |
Rankings on proxy.golang.org
Overall
Top 8.2%