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: This parser uses a clean, minimal syntax that's easy to read and write:
``` ```
host = "localhost" host "localhost"
port = 8080 port 8080
debug = true debug true
allowed_ips { allowed_ips {
"192.168.1.1" "192.168.1.1"
@ -28,11 +28,11 @@ allowed_ips {
} }
database { database {
host = "db.example.com" host "db.example.com"
port = 5432 port 5432
credentials { credentials {
username = "admin" username "admin"
password = "secure123" password "secure123"
} }
} }