Skip to content

Commit

Permalink
feat: ignore dotenv load error
Browse files Browse the repository at this point in the history
  • Loading branch information
eynopv committed May 11, 2024
1 parent 365251e commit ae3a830
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions internal/dotenv.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
package internal

import (
"fmt"

"github.com/joho/godotenv"
)

func LoadDotEnv() {
err := godotenv.Load()
if err != nil {
fmt.Println("Unable to load dotenv:", err)
}
godotenv.Load(".env")
}

0 comments on commit ae3a830

Please sign in to comment.