updated config
parent
877798c5bb
commit
450e45e54a
|
@ -32,6 +32,8 @@ func LoadConfig() {
|
||||||
if os.Getenv("DOCKER") == "" {
|
if os.Getenv("DOCKER") == "" {
|
||||||
fmt.Println("Load env from file")
|
fmt.Println("Load env from file")
|
||||||
godotenv.Load(".env")
|
godotenv.Load(".env")
|
||||||
|
} else {
|
||||||
|
fmt.Println("Load env from system")
|
||||||
}
|
}
|
||||||
|
|
||||||
config := Config{
|
config := Config{
|
||||||
|
|
Loading…
Reference in New Issue