diff --git a/godotenv.go b/godotenv.go index 466f2eb..6b94313 100644 --- a/godotenv.go +++ b/godotenv.go @@ -264,12 +264,6 @@ func parseLine(line string, envMap map[string]string) (key string, value string, } // Parse the key - key = splitString[0] - if strings.HasPrefix(key, "export") { - key = strings.TrimPrefix(key, "export") - } - key = strings.TrimSpace(key) - key = exportRegex.ReplaceAllString(splitString[0], "$1") // Parse the value