Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-m-song committed Aug 30, 2024
1 parent 723dc21 commit 9152441
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 @@ -30,7 +30,7 @@ type config struct {
Port int `env:"PORT" required:"true"`
Peers []string `env:"PEERS"` // you can use `delimiter` tag to specify separator, for example `delimiter:" "`
ConnectionTimeout time.Duration `env:"TIMEOUT" default:"10s"`
LogLevel string `env:"LOG_LEVEL" enum:"debug,info,error"`
LogLevel string `env:"LOG_LEVEL" enum:"debug info error" delimiter:" "` // the delimiter tag applies to enum as well
}

func main() {
Expand Down

0 comments on commit 9152441

Please sign in to comment.