No description
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| example | ||
| decode.go | ||
| decode_test.go | ||
| go.mod | ||
| LICENSE | ||
| README.md | ||
ini
A simple ini/conf decoder which unmarshals bytes into a struct.
It can decode values into various types:
- int, int8, int16, int32, int64 + unsigned variants
- float32, float64
- bool
- string
Comments can be used with ';' or '#'.
Example
Check out the example at ./example/example.go.
You can run the example using:
go run ./example/example.go
Some issues
- Does not trim leading spaces.
- Comments can not be on the same line after a category or key/value pair.