This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
Using environment variables from .env file under vscode #93
Labels
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
go code reads os(shell) environment variables via os.Getenv("name") API.
In order to get values for development saved in .env file, path to this file should be added to json config files of IDE. Cumbersome process.
Describe the solution you'd like
Use new config.Getenv("name")
Describe alternatives you've considered
Add env variables to .vscode/launch.json and save it in repository
something like:
Additional context Example of godotenv usage
The text was updated successfully, but these errors were encountered: