update readme syntax

This commit is contained in:
Sky Johnson 2025-03-04 19:16:36 -06:00
parent 41b82c71cd
commit 80500963b4

View File

@ -17,9 +17,9 @@ A lightweight, intuitive configuration parser for Go applications with a clean,
This parser uses a clean, minimal syntax that's easy to read and write:
```
host = "localhost"
port = 8080
debug = true
host "localhost"
port 8080
debug true
allowed_ips {
"192.168.1.1"
@ -28,11 +28,11 @@ allowed_ips {
}
database {
host = "db.example.com"
port = 5432
host "db.example.com"
port 5432
credentials {
username = "admin"
password = "secure123"
username "admin"
password "secure123"
}
}