mirror of
https://github.com/mainnika/a-quest.git
synced 2026-05-24 00:33:36 +00:00
task1 backend
This commit is contained in:
Vendored
+13
@@ -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))
|
||||
)
|
||||
Reference in New Issue
Block a user