Don't show .env error

This commit is contained in:
video-prize-ranch 2023-07-19 23:51:38 +00:00
parent 6af714f92f
commit 51f9bf4750
No known key found for this signature in database
1 changed files with 1 additions and 4 deletions

View File

@ -22,10 +22,7 @@ import (
func main() {
envPath := flag.String("c", ".env", "Path to env file")
err := godotenv.Load(*envPath)
if err != nil {
fmt.Println(err)
}
_ := godotenv.Load(*envPath)
utils.LoadConfig()
pages.InitializeApiClient()