update readme syntax
This commit is contained in:
parent
41b82c71cd
commit
80500963b4
14
README.md
14
README.md
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user