initial commit
This commit is contained in:
commit
85d50ee958
26 files changed
+2146
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
)
|
||||
|
||||
func LoadEnv() {
|
||||
err := godotenv.Load("up.conf")
|
||||
if err != nil {
|
||||
log.Fatal("Error loading env file")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user