Skip to content

Commit

Permalink
src update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kannan112 committed Nov 16, 2023
1 parent 135b487 commit 9734e33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ type Config struct {
DBUser string `mapstructure:"DB_USER"`
DBPort string `mapstructure:"DB_PORT"`
DBPassword string `mapstructure:"DB_PASSWORD"`
GoauthClientID string `mapstructure:"GOAUTH_CLIENTID"`
GoauthClientSRC string `mapstructure:"GOAUTH_CLIENR_SRC"`
Redirect_URL string `mapstructure:"REDIRECT_URL"`
AccessToken string `mapstructure:"ACCESS_TOKEN"`
RefreshToken string `mapstructure:"REFRESH_TOKEN"`
RazorKey string `mapstructure:"RZOR_KEYID"`
Expand All @@ -22,7 +25,7 @@ type Config struct {
}

var envs = []string{
"PORT", "DB_HOST", "DB_NAME", "DB_USER", "DB_PORT", "DB_PASSWORD", "ACCESS_TOKEN", "REFRESH_TOKEN", "RZOR_KEYID", "RAZOR_KEYSCR", "TWILIO_SERVICES_ID", "TWILIO_ACCOUNT_SID", "TWILIO_AUTHTOKEN",
"PORT", "DB_HOST", "DB_NAME", "DB_USER", "DB_PORT", "DB_PASSWORD", "GOAUTH_CLIENTID", "GOAUTH_CLIENR_SRC", "REDIRECT_URL", "ACCESS_TOKEN", "REFRESH_TOKEN", "RZOR_KEYID", "RAZOR_KEYSCR", "TWILIO_SERVICES_ID", "TWILIO_ACCOUNT_SID", "TWILIO_AUTHTOKEN",
}
var config Config

Expand Down

0 comments on commit 9734e33

Please sign in to comment.