diff --git a/server/pkg/config/config.go b/server/pkg/config/config.go index c814928..3a1ffc0 100644 --- a/server/pkg/config/config.go +++ b/server/pkg/config/config.go @@ -14,8 +14,6 @@ type Environment string const ( // DevelopEnvironment is the development environment. DevelopEnvironment Environment = "dev" - // ProductionEnvironment is the production environment. - ProductionEnvironment Environment = "prod" ) // Config represents configurations. diff --git a/server/pkg/config/config_test.go b/server/pkg/config/config_test.go index 8569d8b..2e6d14e 100644 --- a/server/pkg/config/config_test.go +++ b/server/pkg/config/config_test.go @@ -75,7 +75,7 @@ func TestLoadConfigEnvOverrides(t *testing.T) { } want := AppConfig{ - Environment: ProductionEnvironment, + Environment: Environment("prod"), Host: "127.0.0.1", Port: "9091", ClientSecret: "s3cret",