Go 1.8 env_variables / os.GetEnv improvement

48 views
Skip to first unread message

si...@intesoft.net

unread,
Aug 14, 2017, 8:23:09 PM8/14/17
to google-appengine-go
Maybe I mis-remembered, but I'm pretty sure that the `env_variables` + os.GetEnv only used to work within the context of a request with Go on AppEngine Standard. It was a bit of a PITA - you could get round it with sync.Once etc... but it meant you couldn't configure settings easily in the init function.

But now, using 1.8, it seems to be working as you'd expect!

I just wanted to say thank you to whoever did it and let others know.

Simon Green

Reply all
Reply to author
Forward
0 new messages