more refactor
This commit is contained in:
1 parent
4fde79595e
commit
c42a9cd0cf
5 files changed
+83
-48
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
)
|
||||
|
||||
func LoadEnv() {
|
||||
err := godotenv.Load("auth_service.config")
|
||||
if err != nil {
|
||||
log.Fatal("Error loading .env file")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user