An open API service indexing awesome lists of open source software.

https://github.com/susji/tinyini

Bare-bones Go library for reading INI-like configuration files
https://github.com/susji/tinyini

configuration-parser go golang ini ini-file ini-files ini-parser

Last synced: 9 months ago
JSON representation

Bare-bones Go library for reading INI-like configuration files

Awesome Lists containing this project

README

          

# tinyini

`tinyini` is a minimalistic library for parsing INI-like configuration
files.

[![Tests](https://img.shields.io/github/actions/workflow/status/susji/tinyini/go.yml?label=tests&branch=main)](https://github.com/susji/tinyini/actions/workflows/go.yml)
[![Documentation](https://img.shields.io/badge/godoc-reference-blue.svg?label=pkg.go.dev)](https://pkg.go.dev/github.com/susji/tinyini)

## example configuration file

``` ini
globalkey = globalvalue

[section]
key = first-value
key = second-value
empty=
anotherkey = " has whitespace "

[änöther-section] ; this is a comment and ignored
key = different value
```