From 02f6552da8f3f7aeb0a628b8b1143025926ca808 Mon Sep 17 00:00:00 2001 From: Mahan Zendedel DH Date: Tue, 2 Jan 2024 16:10:38 +0400 Subject: [PATCH] feat: add env type to default configs --- pkg/config/default.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/config/default.go b/pkg/config/default.go index 2be6396..53ef405 100644 --- a/pkg/config/default.go +++ b/pkg/config/default.go @@ -2,6 +2,13 @@ package config import "time" +type EnvType string + +const ( + EnvTypeDev EnvType = "dev" + EnvTypeProd EnvType = "prod" +) + type Redis struct { Address string }