init
This commit is contained in:
14
config/config.go
Normal file
14
config/config.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
)
|
||||
|
||||
func LoadEnv() {
|
||||
err := godotenv.Load()
|
||||
if err != nil {
|
||||
log.Println("Keine .env Datei gefunden, verwende Umgebungsvariablen")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user