go-plus icon indicating copy to clipboard operation
go-plus copied to clipboard

Custom per-project GO environment variables

Open elegos opened this issue 7 years ago • 0 comments

Hello guys.

I saw there are a couple of "issues" here asking for a per-project GO environment variables (namely GOPATH).

I've read that it won't be supported for now, so I created a simple atom plugin which reads .env files on demand: https://atom.io/packages/load-dotenv-variables

Just create your .env file in the project's root and reload the variables via ALT+D (env files are being read at project open) :) in case, reload the window.

I'd ask you one thing though: the possibility to reload the environment varibales, instead of having to reload the entire Atom's window.

elegos avatar Jan 29 '18 10:01 elegos