MohammadmahdiAhmadi

Results 1 comments of MohammadmahdiAhmadi

I hope this function helps you ``` func GetEnvValue(key string) string { path, _ := os.Getwd() err := godotenv.Load(strings.Split(path, "YOUR_MAIN_PROJECT_NAME")[0] + "YOUR_MAIN_PROJECT_NAME/" + ".env") if err != nil { log.Fatalf("Error...