task3 backend

This commit is contained in:
2020-01-04 12:38:50 +01:00
parent 6cfe7d338a
commit 728c0273d9
10 changed files with 829 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package env
import (
"fmt"
"os"
)
var (
Prefix = "CFG"
IsDevelopment = len(os.Getenv("DEBUG")) > 0
ConfigPath = os.Getenv(fmt.Sprintf("%s_PATH", Prefix))
ConfigName = os.Getenv(fmt.Sprintf("%s_NAME", Prefix))
)