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

https://github.com/c0de4un/ini

INI Loader written in Go
https://github.com/c0de4un/ini

go golang ini ini-parser ini-reader

Last synced: 7 days ago
JSON representation

INI Loader written in Go

Awesome Lists containing this project

README

          

# go-ini
INI Loader written in Go
Single threaded & simple

# Examples
* Read all params
```go
func (app MyApp) onParam(name string, value string) bool {
app.config.setParam(name, value)

return true
}

func (app MyApp) Load() {
reader := ini.NewReader()
reader.ReadAll(app.dbConfig, app)
}
```

# Requirements
* Go 1.17

# Tests
```bash
$go test
```