Skip to content

Commit

Permalink
feat: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
licaonfee committed Jul 10, 2024
1 parent 22bc43e commit e5d2574
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,15 @@ import (
type config struct {
Path string `mapstructure:"path"`
Users []string `mapstructure:"users"`
Address map[string]string `mapstructure:"address"`
}

// Environment
// APP_PATH=log.log
// APP_USERS_0=one_user
// APP_USERS_1=other_user
// APP_ADDRESS_LOCAL=localhost
// APP_ADDRESS_REMOTE=8.8.8.8

func main() {
var cfg config
Expand Down

0 comments on commit e5d2574

Please sign in to comment.