Skip to content

Commit

Permalink
Just reorder struct tags (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <me@teran.dev>
  • Loading branch information
teran authored Jun 18, 2024
1 parent 9256a04 commit f1786e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/relay/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ type config struct {
Domain string `envconfig:"DOMAIN" required:"true"`
MailgunAPIKey string `envconfig:"MAILGUN_API_KEY"`
MailgunURL string `envconfig:"MAILGUN_URL"`
MaxMessageBytes int64 `default:"1048576" envconfig:"MAX_MESSAGE_BYTES"`
MaxRecipients int `default:"50" envconfig:"MAX_RECIPIENTS"`
MaxMessageBytes int64 `envconfig:"MAX_MESSAGE_BYTES" default:"1048576"`
MaxRecipients int `envconfig:"MAX_RECIPIENTS" default:"5"`
MetricsAddr string `envconfig:"METRICS_ADDR" default:":8081" `
}

Expand Down

0 comments on commit f1786e0

Please sign in to comment.