From 542c4cc1646339488f3bdc247a94b78484abc590 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Wed, 26 Oct 2022 01:04:51 +0300 Subject: delete funcs.go - not needed --- backend/controllers/funcs.go | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 backend/controllers/funcs.go (limited to 'backend/controllers/funcs.go') diff --git a/backend/controllers/funcs.go b/backend/controllers/funcs.go deleted file mode 100644 index 6d0f854..0000000 --- a/backend/controllers/funcs.go +++ /dev/null @@ -1,16 +0,0 @@ -package controllers - -import ( - "log" - "os" - - "github.com/joho/godotenv" -) - -func GetEnvKey(key string) string { - err := godotenv.Load() - if err != nil { - log.Fatal("Error loading .env file") - } - return os.Getenv(key) -} -- cgit v1.2.3