Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HurSungYun authored and sagikazarmark committed Jul 10, 2022
1 parent d55cd57 commit a4e4f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ configuration level.

Viper can access array indices by using numbers in the path. For example:

```json
```jsonc
{
"host": {
"address": "localhost",
Expand Down Expand Up @@ -622,7 +622,7 @@ GetInt("host.ports.1") // returns 6029
Lastly, if there exists a key that matches the delimited key path, its value
will be returned instead. E.g.

```json
```jsonc
{
"datastore.metric.host": "0.0.0.0",
"host": {
Expand Down

0 comments on commit a4e4f65

Please sign in to comment.