Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaqx authored Jul 18, 2024
1 parent 0cafff9 commit 86801b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ when an environment variable is not set:
type Config struct {
Host string `env:"HOST,default=localhost"`
Port string `env:"PORT,default=8080"`
Address string `env:"ADDRESS,expand,default=${Host}:${Port}"`
Address string `env:"ADDRESS,expand,default=${HOST}:${PORT}"`
}
```
Expand Down

0 comments on commit 86801b0

Please sign in to comment.