summaryrefslogtreecommitdiff
path: root/backend-go/parse_env.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend-go/parse_env.go')
-rw-r--r--backend-go/parse_env.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/backend-go/parse_env.go b/backend-go/parse_env.go
new file mode 100644
index 0000000..2c2851b
--- /dev/null
+++ b/backend-go/parse_env.go
@@ -0,0 +1,11 @@
+package main
+
+import (
+"fmt"
+"github.com/joho/godotenv"
+)
+
+func main() {
+env, err := godotenv.Read("../.env")
+fmt.Println(err, env)
+}