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:
|
||||
|
||||
```
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user